Typing `rs` in the terminal does not restart the dev environment app
See original GitHub issuePreflight Checklist
- I have read the contribution documentation for this project.
- I agree to follow the code of conduct that this project follows, as appropriate.
- I have searched the issue tracker for a bug that matches the one I want to file, without success.
Issue Details
- Electron Forge Version: 6.0.0-beta.57
- Electron Version: v11.3.0
- Operating System: Macos big sur latest
Expected Behavior
I expect to be able to run electron forge and type in the terminal rs
and have the entire app restart.
Actual Behavior
The app does not restart when I type in rs
Additional Information
I think this could be related to the recent changes in the webpack plugin upgrade to webpack version 5
Issue Analytics
- State:
- Created 2 years ago
- Reactions:14
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How To Restart Your Node.js Apps Automatically with nodemon
You can restart the process at any time by typing rs and hitting ENTER . Once you make the changes to package.
Read more >Nodemon is not able to gracefully restart applications in ...
I'm seeing the same behavior regardless during restarts for file changes (or typing 'rs') - the application is IMMEDIATELY restarted and my ...
Read more >How to watch and reload ts-node when TypeScript files change
So all ts file will re-compile to js file and then restart the server. To run while in dev environment, npm run dev....
Read more >Automatically restart Node.js apps with Nodemon
The essential tutorial for Nodemon, a utility for Node.js applications that monitors for changes and automatically restarts the server.
Read more >5 Linux / Unix Commands For Connecting To The Serial ...
Explains and list top five utilities that can be used for serial communication under Linux / Unix / *BSD and Mac OS X....
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 FreeTop 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
Top GitHub Comments
rs
+enter
in terminal does also not work in6.0.0-beta.61
.@ltabis setting the
DEBUG
env as you mentioned re-enables thers
command for me. 👍💯 For a quick test without alteringpackage.json
prefixing the npm start command like this worked for me (on mac os):DEBUG='electron-forge:*' npm start
Hey @b-zurg, I’ve encountered this issue in a project, and couldn’t find any solution to fix this problem. I think it’s definitely a webpack 5 bug since I’ve just updated to that version and that’s when the problem occured.
I’ve nonetheless managed to re-enable the
rs
command by passing the env variableDEBUG='electron-forge:*'
to the start script (I was trying to see what electron-forge was doing under the hood to find the problem) in my package.json like so:(cross-env is used to enable windows devs to use the same config as linux users)
I know it’s not a good solution and that it might not work for you, but please give it a try while this is being worked on. (btw I have no idea why enabling logs would re-enable the rs command 😕)