【发布时间】:2012-10-31 19:28:18
【问题描述】:
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
server: {
port: 8888,
base: '.'
}
});
};
C:\Program Files\nodejs\test\grunt>
C:\Program Files\nodejs\test\grunt>grunt server
Running "server" task
Starting static web server on port 8888.
完成,没有错误。
但无法通过输入[http://127.0.0.1:8888][1] in browsers ! jiong~连接
如何在 windows 或 unix 中解决这个问题?
【问题讨论】:
-
修复了吗,或者你知道为什么吗?
-
我有同样的行为,很想知道是否有人知道这一点。
标签: javascript linux html node.js gruntjs