jekyll-reload 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/reload/hooks/server.rb +5 -2
- data/lib/jekyll/reload/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6677955037d734109e6959359e3485ecc78afe85
|
4
|
+
data.tar.gz: 1a17f869389188c64e98a53da6d243e3b891b2f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 772167df149b11864e81c2b30ac790b2953cb8d6ce326eeef4a6f5a85713e94a2101229b1f3ab3cf30a0c477c08815ed388f322b135da803e2cfd8f72a450547
|
7
|
+
data.tar.gz: de20f9c27d49365ef9e5dcc07424fab11b179b5671c6bf92dfc4f8b5d706367b2464b3e5b42db98736858ccf354ea965cb3744c0df468a9929ac93010d33dcc4
|
@@ -7,8 +7,11 @@ require_relative "../reactor"
|
|
7
7
|
require "jekyll"
|
8
8
|
|
9
9
|
Jekyll::Hooks.register :site, :post_write, priority: :high do |s|
|
10
|
-
next if s.reloader
|
11
|
-
|
10
|
+
next if s.reloader
|
11
|
+
|
12
|
+
if s.config["serving"]
|
13
|
+
s.reloader = Jekyll::Reload::Reactor.new(s).tap do |o|
|
12
14
|
o.start
|
13
15
|
end
|
16
|
+
end
|
14
17
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-reload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordon Bedwell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: em-websocket
|