Muh*_*hid 4 javascript node.js
我是node.js的新手,我面临着问题,我已经在我的Windows操作系统上安装了node.js而且我已经安装了npm by npm install node-dev -g我已经检查过npm是否安装在我的操作系统上当我输入
C:> npm 显示结果
Usage: npm <command>
where <command> is one of:
add-user, adduser, apihelp, author, bin, bugs, c, cache,
completion, config, ddp, dedupe, deprecate, docs, edit,
explore, faq, find, find-dupes, get, help, help-search,
home, i, info, init, install, isntall, issues, la, link,
list, ll, ln, login, ls, outdated, owner, pack, prefix,
prune, publish, r, rb, rebuild, remove, repo, restart, rm,
root, run-script, s, se, search, set, show, shrinkwrap,
star, stars, start, stop, submodule, tag, test, tst, un,
uninstall, unlink, unpublish, unstar, up, update, v,
version, view, whoami
npm <cmd> -h quick help on <cmd>
npm -l display full usage info
npm faq commonly asked questions
npm help <term> search for help on <term>
npm help npm involved overview
Specify configs in the ini-formatted file:
C:\Documents and Settings\Administrator\.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config
npm@1.3.14 C:\node_modules\npm
Run Code Online (Sandbox Code Playgroud)
当我运行C时,我实际上遇到了什么问题:> node-dev script.js它显示正确的结果,但是当我编辑我的脚本时,js页面服务器没有自动重启
这是我的script.js页面代码console.log("hello world");
| 归档时间: |
|
| 查看次数: |
1946 次 |
| 最近记录: |