标签: javascript node.js npm
我使用了命令:node-dev script.js
node-dev script.js
{ var connect = require('connect'); var app = connect() .use(connect.static('public')) .use(function (req, res) { res.end("Couldn't find it."); }) .listen(3000); }