我在Windows开发箱上运行grunt/node/famo.us用于演示应用程序。当我使用Chrome浏览器转到localhost:1377时,一切正常。现在我试图使用ipaddress:1377从同一网络上的另一个盒子访问该站点,但Chrome说它无法找到它。我完全禁用Windows防火墙,但它仍然不会出现。远程调用支持的咕噜网站吗?我在做别的事吗?如何从另一个框中访问grunt站点
这里是我的gruntfile.js:
/*global module:false*/
/*Generated initially from grunt-init, heavily inspired by yo webapp*/
module.exports = function(grunt) {
'use strict';
// Time how long tasks take. Can help when optimizing build times
require('time-grunt')(grunt);
// Load grunt config
require('load-grunt-config')(grunt, {
init: true,
data: {
config: {
// Configurable paths
app: 'app',
dist: 'dist'
}
}
});
};
我已将我的grunt配置文件添加到该问题中,因为我没有看到我要放置的内容。谢谢! – skb
好的..我将我的'连接'配置的全部内容添加到您的gruntfile.js – johntraver