You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 9, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 9, 2025. It is now read-only.
Script in "Watching file changes with nodemon" doesn't work #53
Please correct me if I interpret the section "Watching file changes with nodemon" wrong.
What I found in this section is that after issue npm start, the project won't rebuild when index.js is modified, i.e. when I modified the greetings, it was not updated when I refresh the page. The script seems only to build the project once when the command is issued.
Please correct me if I interpret the section "Watching file changes with nodemon" wrong.
What I found in this section is that after issue npm start, the project won't rebuild when index.js is modified, i.e. when I modified the greetings, it was not updated when I refresh the page. The script seems only to build the project once when the command is issued.
Activity
cunneen commentedon Jun 12, 2020
Thank you for posting this @wenheqi your solution worked for me.
koistya commentedon Sep 6, 2020
"start": "nodemon ./src"+ Nodemon configurationhttps://github.com/kriasoft/nodejs-api-starter/blob/613b7748c3d098bc0fd2f92f3c356b32fd370313/api/package.json#L80-L83
MacgyverMartins commentedon Sep 15, 2020
Thanks!!
Fix nodemon watch script