expressjs / generator

Express' application generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nodemon still doesn't seem to work

markwitt1 opened this issue · comments

I have a freshly generated express app that works perfectly fine.
But I can't get the auto restart on save to work. I am using:

"start" : "nodemon ./bin/www"

but I always need to press rs after saving a file, it never automatically restarts.

I know this was already mentioned once but I couldnt solve it.

Same issue "start": "nodemon ./bin/www" do not refresh page in the browser

I'm not familiar with nodemon, so not sure why it wouldn't work or what a fix would be. The best way to get it working is probably to either:

(a) fully describe all the steps needed to reproduce the issue, noting versions used, what commands to run from zero to issue, etc.

Or

(b) a pull request with the suggested fix.

Try creating a new script: "dev": "nodemon" and it'll work just fine.

I was unable to reproduce this issue. Closing this for now, please reopen if you can help us reproduce this behavior 👍