javascript - Node Forever Affects App Display (Style and Routes) -
i trying make app server run indefinitely forever , nodemon. so, using following command:
forever -c nodemon --exitcrash app.js
the problem presence of forever module seems affect display of app. namely, whenever run app using forever, login window styles changed , entire thing shifted left side of window. more, of app routes stop working. on other hand, whenever use simple npm start
or nodemon command
, works expected.
does know why may happening? how make server run continuously , not mess app itself?
p.s. may useful mention reason, app works upon running npm start
, not work when node app.js
run. unsure why happens.
Comments
Post a Comment