FROM CACHE - en_header

Node app not reloading in Vagrant

New Member
1 0 0

Hi, i'm trying to create my first application but having troubles due to when i change some file, it doesn't compiles again, thus the change doesn't reflex until the server restarts. add the `-L` flag to Nodemon it doesn't works, use `--inspect=`( localhost inside a Vagrant box) it doesn't works either, besides the first compile proccess it's extremly slow, it takes about 1 minute. I'm in a Windows machine so i'm stuck. Is there is a way to not use HMR, but reloading the page i take it. Please Help.


cross-env NODE_ENV=development nodemon --inspect= -L ./server/index.js --watch ./server/index.js


Replies 0 (0)