sindresorhus/electron-reloader



The issue has been solved
Doesn't work when main entry file is in a sub-folder #7
astoilkov posted onGitHub
Our application has the following structure:
main
main.js
renderer
Running the module from main.js
doesn't start watching the renderer folder. That's because the code assumes the main.js
file is in the root of the application.
Looking at the code the problem can be resolved by either watching the process.cwd()
folder or creating an option for specifying which folder is the root of the app.
Fund this Issue
Rewarded pull request
Watch from root #10submitted byvehmloewff(30)
Click to copy link
Recent activities