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
0
votes
1 answer

Webpack hot-reload set correctly in publicPath, but hot-middleware looks up hot-update in the wrong path

I have an express server that setup a hot-update file at the address localhost:8080/static/xxx.hot-update.json. So far so good. ("/static" is the devServer’s publicPath.) On the frontend side I have this line in my js :…
Tumulte
  • 161
  • 1
  • 1
  • 8
0
votes
1 answer

Hot Reload shows blank screen in Electron Svelte with svelte-routing

I am working on an Electron.js application, utilizing Svelte as my frontend framework. I'm using hot reload with chikidar, but every time I reload it shows a white blank screen, and I get an error in the devtools: Not allowed to load local resource:…
The Cubear Guy
  • 383
  • 4
  • 17
0
votes
0 answers

Intellij Hot Reload doesn't work properly after reload it is unable to find the spring injected bean

I am working with a spring boot project in intelliJ and seems like hot reloading is not working as expected. I have configured the project and IDE so that hot reload should work i.e i have checked build project automatically under settings also in…
0
votes
3 answers

Nextjs project is not hot reloading in MacOs

Well, i try searching a solution but i cant find anything. A coworker passed me project in NextJs (With React of course). I run yarn install, and then yarn run dev, the server starts but when i made a change in the code, it is not hot reloading!…
Dev Mc Gann
  • 1
  • 1
  • 3
0
votes
0 answers

livereload.Server with Flask causing NotImplementedError in Windows

In an attempt to obtain hot reload in Python 3.8 on Windows 10, I'm running: from flask import Flask from livereload import Server if __name__ == '__main__': flask_app = Flask(__name__) server = Server(flask_app.wsgi_app) server.serve()…
Tar
  • 8,529
  • 9
  • 56
  • 127
0
votes
1 answer

How to debug XAML hot reload in a .Net Core 3.1 WPF app?

I have a small WPF test harness application for visualizing user controls that are contained in a separate library. Both projects are netcoreapp3.1 and contained in the same active solution in VS 2019 16.4 on Win10 x64. The constructor of…
lightw8
  • 3,262
  • 2
  • 25
  • 35
0
votes
1 answer

How can I ensure webpack-dev-server recompiles Sass when using a custom Sass importer?

I'm using a custom Sass importer that lets me import JavaScript/JSON files into my Sass. The issue I'm having is that when I save some JavaScript file that is being imported into my Sass, it doesn't trigger a hot-update/reload when using…
ESR
  • 1,669
  • 1
  • 18
  • 22
0
votes
1 answer

Handling Exceptions of a c++ DLL

I'm making a game engine, I've done a c++ hot reload for the scripting and I have one problem. The problem is that if the user makes a mistake and the script crashes, it will crash the engine as well. There are 2 projects, the first one that is an…
0
votes
1 answer

Automatically restart server on file change

I would like to run a simple-http-server (a blocking command) and have it automatically restart when specified files change on Linux. Something like this: hotreload -w src/ -w index.html simple-http-server To restart the command whenever the…
stimulate
  • 1,199
  • 1
  • 11
  • 30
0
votes
2 answers

webpack hot reload not working when running development on remote server

I have webpack configured and when i used to run webpack-dev-server --inline --config webpack.js locally i was working. Now I am running this command remotely while still reading my local files, but hot reload is not working. Which configuration…
0
votes
0 answers

Hot reload in Xamarin Forms with genymotion not working

I'm trying to configure HotReload 1.4.15 in VS 2017 for execute in genymotion emulator (Win 10). Xamarin Live Reload - Preview installed. Variable path configured for all users: In app.xaml.cs public App() { …
Diego Venâncio
  • 5,698
  • 2
  • 49
  • 68
0
votes
1 answer

React Hot Reloading + Webpack without Express or Webpack-Dev-Server

I have a client-server architecture with React+Redux app that uses Webpack to bundle the code into a dist folder, and a go server which serves this files and I'm trying to implement react-hot-reloading in this configuration. The client communicates…
Mark268
  • 78
  • 1
  • 8
0
votes
2 answers

jrebel with debug mode can't update class

I started the project with jrebel's debug mode. When I update the class, jrebel throws the following log exception. Even though I didn't make any changes to the class, I just added a space. It is normal to start in start mode. 15:01:45,667 ERROR…
0
votes
1 answer

Flutter hot-reload stops working when phone goes to sleep

My setup Android Studio 3.5 Flutter 1.9.1_hotfix.2 iOS 12 After deploying the app to the phone and keeping the app running, hot-reload works with Android Studio until the phone goes to sleep and gets locked automatically, when the hot-reload…
kakyo
  • 10,460
  • 14
  • 76
  • 140
0
votes
0 answers

Flutter hot reload and Navigator.push in onTap

I know this is how the framework should work but I am looking for a workaround. class Toy extends StatelessWidget { final WidgetBuilder childBuilder; final String variation; final bool disableAppBar; final bool resizable; const Toy( …
Tree
  • 29,135
  • 24
  • 78
  • 98