Skip to content

Instantly share code, notes, and snippets.

@smison
Last active August 29, 2015 14:17
Show Gist options
  • Select an option

  • Save smison/222aba103d53a1b6eee8 to your computer and use it in GitHub Desktop.

Select an option

Save smison/222aba103d53a1b6eee8 to your computer and use it in GitHub Desktop.
livereloadx導入までの道のり
- goemonを使ってみようとする
- 参考
- Installing Go from source https://golang.org/doc/install/source
$ cd ~
$ git clone https://go.googlesource.com/go
$ cd go
$ git checkout -b go1.4.1
$ cd go/src
$ ./all.bash
$ go
$ go get github.com/petar/GoLLRB/llrb
は正常に終了するけど
$ go get github.com/mattn/goemon/cmd/goemon
が終了しない
あきらめる。
- LiveReloadそのまま使おうとする
- http://livereload.com/
- Linux用: https://github.com/guard/guard-livereload
- http://qiita.com/TAKAyuki_atkwsk/items/737066dd15b9886f5dad
- http://kenkiti.hatenadiary.jp/entry/20130407/p1
- http://togattti.hateblo.jp/entry/2014/09/09/233049
=> Chrome Extension: Could not connedt LiveReload Server Error
あきらめる。
- livereloadXをつかう
- https://github.com/nitoyon/livereloadx
- http://tech.nitoyon.com/ja/blog/2013/02/27/livereloadx/
- user document
- http://nitoyon.github.io/livereloadx/
- yum error の修正
- $ sudo yum clean all 後に下記
- http://d.hatena.ne.jp/C_6B4A2B/20130427/1367073209
- install
- $ sudo npm install -g livereloadx
- 入った
- staticファイルをserveする(-s)
- $ livereloadx -s -p 3000
- 動いた
chrome extensionがいらず、
  php -Sのように簡単に静的ファイルをserveできてしかも自動更新でと、とても便利。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment