I am new to nodejs and i am trying to run the following command
sudo npm install node-dev -g
I get the following message
npm WARN deprecated [email protected]: Please update to the latest object-keys
/usr/local/bin/node-dev -> /usr/local/lib/node_modules/node-dev/bin/node-dev
[email protected] /usr/local/lib/node_modules/node-dev
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
And then when i do
node-dev demo2.js
the javascript file does not run continuously. Can anyone help me with this ? I want to run the file continuously with node-dev
I had the same problem, so I used the following instead: npm install [email protected]
This worked great. See this link for more info: https://libraries.io/npm/nodev/0.8.1