(MacOSX10.8, yeoman1.0.4, grunt v0.4.1)
IP 調べる
システム環境設定 > ネットワーク
もしくは
$ ifconfig
yeoman のスケルトン作成
$ yo webapp
Gruntfile.js
hostname に iP いれる
:
connect: {
options: {
port: 9000,
livereload: 35729,
// change this to '0.0.0.0' to access the server from outside
// hostname: 'localhost'
hostname: '192.168.x.x'
: