Auto-Reload debug using electronmon #1140
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context / Background
While I was doing some front-end experiments, I realized it would be nice if it would just reload itself whenever I save a file. This is my solution to that.
What change is being introduced by this PR?
How did you approach this problem?
I basically just looked at what others before me have done.
What changes did you make to achieve the goal?
Install one devDependency, and alter a script in package.json
What are the indirect and direct consequences of the change?
When editing files, the app will reload when a front-end file is changed.
How will this be tested?
Running a debug session and noting that it reloads after a small change to a css or other file.
Switching to electronmon for much better performance