Skip to content

Commit a0ac309

Browse files
committed
Cross-platform gems for guard watches
1 parent 109decd commit a0ac309

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ gem 'nanoc'
44
gem 'adsf'
55
gem 'kramdown'
66
gem 'guard-nanoc'
7+
gem 'guard-livereload'
78
gem 'nokogiri'
89
gem 'redcarpet'
910
gem 'pygments.rb'
1011
gem 'builder'
12+
gem 'rb-inotify', :require => false
13+
gem 'rb-fsevent', :require => false
14+
gem 'rb-fchange', :require => false

Gemfile.lock

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ GEM
1010
colored (1.2)
1111
cri (2.6.1)
1212
colored (~> 1.2)
13+
em-websocket (0.5.1)
14+
eventmachine (>= 0.12.9)
15+
http_parser.rb (~> 0.6.0)
16+
eventmachine (1.0.8)
1317
ffi (1.9.6)
1418
formatador (0.2.5)
1519
guard (2.6.1)
@@ -18,10 +22,15 @@ GEM
1822
lumberjack (~> 1.0)
1923
pry (>= 0.9.12)
2024
thor (>= 0.18.1)
25+
guard-livereload (2.3.1)
26+
em-websocket (~> 0.5)
27+
guard (~> 2.0)
28+
multi_json (~> 1.8)
2129
guard-nanoc (1.0.2)
2230
guard (>= 1.8.0)
2331
nanoc (>= 3.6.3)
2432
hitimes (1.2.2)
33+
http_parser.rb (0.6.0)
2534
kramdown (1.4.2)
2635
listen (2.7.11)
2736
celluloid (>= 0.15.2)
@@ -30,6 +39,7 @@ GEM
3039
lumberjack (1.0.9)
3140
method_source (0.8.2)
3241
mini_portile (0.6.0)
42+
multi_json (1.11.2)
3343
nanoc (3.7.3)
3444
cri (~> 2.3)
3545
nokogiri (1.6.3.1)
@@ -43,6 +53,8 @@ GEM
4353
posix-spawn (~> 0.3.6)
4454
yajl-ruby (~> 1.1.0)
4555
rack (1.5.2)
56+
rb-fchange (0.0.6)
57+
ffi
4658
rb-fsevent (0.9.4)
4759
rb-inotify (0.9.5)
4860
ffi (>= 0.5.0)
@@ -59,9 +71,13 @@ PLATFORMS
5971
DEPENDENCIES
6072
adsf
6173
builder
74+
guard-livereload
6275
guard-nanoc
6376
kramdown
6477
nanoc
6578
nokogiri
6679
pygments.rb
80+
rb-fchange
81+
rb-fsevent
82+
rb-inotify
6783
redcarpet

Guardfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ guard 'nanoc' do
66
watch('Rules')
77
watch(%r{^(content|layouts|lib|static)/.*$})
88
end
9+
10+
guard 'livereload' do
11+
watch(%r{output/.+})
12+
end

0 commit comments

Comments
 (0)