我是 nodejs 的新手,我正在尝试运行以下命令
sudo npm install node-dev -g
我收到以下消息
npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys
/usr/local/bin/node-dev -> /usr/local/lib/node_modules/node-dev/bin/node-dev
node-dev@2.6.2 /usr/local/lib/node_modules/node-dev
├── filewatcher@1.1.2
├── resolve@1.1.6
├── dynamic-dedupe@0.2.0 (xtend@2.0.6)
├── dateformat@1.0.11 (get-stdin@4.0.1, meow@3.1.0)
└── node-notifier@4.2.1 (shellwords@0.1.0, clone@0.1.19, growly@1.2.0, minimist@1.1.1, semver@4.3.6, cli-usage@0.1.1, which@1.1.1)
然后当我这样做时
node-dev demo2.js
javascript 文件不会连续运行。谁能帮我这个 ?我想用 node-dev 连续运行文件