I'm learning Node.js, my demo has two files:
/server.js
/public/index.html
/server.js
will get /public/index.html
and then return to the client.
I'd like to use nodemon
to auto reload when /public/index.html
is modified. However, it seems like nodemon
only works when I modify /server.js
and not when /public/index.html
is modified.
I'm using nodemon server.js
to starting the server.