Hot reload main process
See original GitHub issueThe current dev
process launch start-renderer-dev
first, then spawn a process to start start-main-dev
process, is there a way to apply webpack config to the main process in dev mode? I think in production mode it does.
Related launch step:
"start-main-dev": "cross-env HOT=1 NODE_ENV=development electron -r @babel/register ./app/main.dev.js",
saw possiable solution from other project here: https://github.com/input-output-hk/daedalus/blob/develop/gulpfile.js#L44
Issue Analytics
- State:
- Created 5 years ago
- Reactions:14
- Comments:17 (5 by maintainers)
Top Results From Across the Web
electron main process hot reload or live reload - Stack Overflow
Electron's main process is node.js, which doesn't support reload modules from its cache out of the box. Unless node.js have support for it, ......
Read more >Hot Reload in ElectronJS - GeeksforGeeks
Step 1: Navigate to an Empty Directory to setup the project, and run the following command, npm init. To generate the package. ·...
Read more >Write and debug code by using Hot Reload - Visual Studio ...
Or, open Tools > Options > Debugging > .NET/C++ Hot Reload. The settings for Hot Reload include: Enable Hot Reload and Edit and...
Read more >Hot reload - Flutter documentation
Hot reload works by injecting updated source code files into the running Dart Virtual Machine (VM). After the VM updates classes with the...
Read more >hot reload main process? #2727 - GitHub
Summary Is there any way to hot reload main process when changing main process typescript files?
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
we really need this pls 😂
some like this would be nice. taken from electron-forge docs "For the main process reloading, just type
rs
in the console you launched electron-forge`