【发布时间】:2014-10-13 12:04:45
【问题描述】:
在运行 grunt watch 时 - 它在运行 express 服务器任务并中止时抛出警告。
警告如下:
Running "express-server:devServer" (express-server) task
Warning: Object function createServer() {
function app(req, res, next){ app.handle(req, res, next); }
merge(app, proto);
merge(app, EventEmitter.prototype);
app.route = '/';
app.stack = [];
return app;
} has no method 'static' Use --force to continue.
Aborted due to warnings.
【问题讨论】:
标签: node.js express gruntjs grunt-contrib-watch