Questions tagged [hot-reload]

Use this tag for questions about the hot-reload functionality of programming tools.

Hot-reload is the ability to view the effects of programming changes as soon as they are made without having to manually perform additional actions such as compiling, deploying, reloading, or restarting. These steps may still happen, but they are automatically performed by an agent that watches for changes to the source code.

Using hot-reload decreases the time for a development cycle and prevents developers from wasting time when they forget to perform steps after making changes then can't figure out why their changes didn't work.

415 questions
5
votes
2 answers

Disconnect hot reloading for a particular tab, through devtools console, for angular apps

Is there a way to disconnect the web sockets from hot reloading my angular app, for a particular browser tab by using devtools console window? I would need to keep the app at a particular state while I have another instance open in another tab that…
4
votes
5 answers

Why is hot reloading not working in my NestJS/Docker-Compose multistage project?

Hot reloading is not working. The API is not being updated after changes in the code are saved. Here is the code: https://codesandbox.io/s/practical-snowflake-c4j6fh When bulding (docker-compose up -V --build) I get the following messages on…
4
votes
0 answers

Hot Reload Angular & Electron Application

I have a vanilla Angular 14.x application (just ng new) to which I've added Electron 19.x and electron-reload. Everything works if I run ng build --base-href ./ && electron . Now I'm trying to add hot reloading. All I want is to have changes I…
TimTheEnchanter
  • 3,370
  • 1
  • 26
  • 47
4
votes
0 answers

Docker compose hot reload not working (golang air && vue 3)

How can I get hot reloading working, when running an application via Docker Compose? I am running Docker on Linux pop-os 5.17.5-76051705-generic. Inside Docker, I have a Vue app as a client and a Golang as a back-end API. I managed to get hot…
Elar Saks
  • 151
  • 5
4
votes
2 answers

VS2022 Hot Reload unconditionally restarts application after changes

for C# there's this option in VS for hot reloading, to automatically rebuild and restart the application. This is usually necessary when the changes couldn't be applied while the application was running. In practice, this happens a lot when you have…
4
votes
3 answers

Hot reload not working properly for Tailwind on WSL2

o/ Just started a new personal project with Remix & TailwindCSS. Everything works fine with raw Remix install, but the css hot reload is broken when I add Tailwind. The first class added is applied, but not the next ones. I think it must be related…
noliiva
  • 41
  • 1
  • 5
4
votes
1 answer

VS 2022: How to get cshtml hot reload to work

Am I missing something? I am running VS 2022 version 17.0.5. When I run my ASP.Net core MVC project (TargetFramework: net5.0) nothing happens when I change the cshtml for the current page. I've tried setting Hot Reload on File Save (under the Hot…
Bob.at.Indigo.Health
  • 11,023
  • 13
  • 64
  • 111
4
votes
1 answer

Enable hot reload in Visual Studio 2022 with C++ CMake projects

I've a C++ CMake project that I handle with Visual Studio 2022. I've tried to change the code during the debug and to click the "hot reload" button, but I've the following messsage: Edits were made which cannot be compiled And in the Visual Studio…
Jepessen
  • 11,744
  • 14
  • 82
  • 149
4
votes
1 answer

How to make .NET 6.0 Hot Reload work on the simplest "Hello, World" console application?

Consider this C# 10 / .NET 6.0 / Visual Studio 2022 "Hello, World" console application: // See https://aka.ms/new-console-template for more information foreach (int _ in Enumerable.Range(0, 100)) { Console.WriteLine("Hello, World!"); …
Konrad Jamrozik
  • 3,254
  • 5
  • 29
  • 59
4
votes
1 answer

Hot reloading with typescript and node

A lot of articles exist out there explaining how to hook up nodemon or ts-node-dev to automatically restart your TypeScript server on file changes, but restarting the whole server is starting to get pretty slow on my large TypeScript project, where…
osdiab
  • 1,972
  • 3
  • 26
  • 37
4
votes
2 answers

No constructor 'Text.' with matching arguments declared in class 'Text'

I'm using flutter module in my existing iOS app. While making changes I often use hot reload to see the output. It was working fine until yesterday, but when I use hot reload now, its giving me the exception: The following NoSuchMethodError was…
iAkshay
  • 1,143
  • 1
  • 13
  • 35
4
votes
0 answers

Gatsby — Hot reload not working with .MDX generated pages

Issue Gatsby hot reloading is not working when modifying CSS properties from Components that lives in generated .MDX pages. Goal I want the ability to review changes made to Components using hot reloading. I started playing around with MDX and…
Diego Oriani
  • 1,647
  • 5
  • 22
  • 31
4
votes
1 answer

webpack hot module replacement not working

Am trying to use HRM (Hot Module Replacement) in my webpack config, first I have set the --hot option within my package.jsong: "scripts": { "start": "webpack-dev-server --hot" } Also note that am using the HtmlWebpackPlugin in order to create…
medBouzid
  • 7,484
  • 10
  • 56
  • 86
4
votes
5 answers

How to use HotReload feature in Xamarin.Forms UWP project

I've added UWP project to my Xamarin.Forms solution. There is a link on the top of the page that says: Hot Reload Available but nothing happens when I change the XAML code!. as far as I've checked, for this feature, I should not add any extra…
Mironline
  • 2,755
  • 7
  • 35
  • 61
4
votes
1 answer

Lite Server hot reload doesn't work for default config

Lite Server doesn't reload the page upon making changes to my index.html file. I'm not using a bs-config.json file. My index.html opens correctly in a new tab when starting lite server using : npm run dev This console info might help: > lite@1.0.0…
Ole EH Dufour
  • 2,968
  • 4
  • 23
  • 48