nanoc-live 1.0.0b1 → 1.0.0b2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.md +6 -0
- data/lib/nanoc/live/commands/live.rb +4 -0
- data/lib/nanoc/live/live_recompiler.rb +4 -1
- data/lib/nanoc/live/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7eeecefd3484786adc38e4655092c9443c33a5d438b21f10e19f7e51fd0d0b94
|
4
|
+
data.tar.gz: 6a922e2bb7a34253643cca1467a47e0c0852d39cda2c6727cbad55ba5cb4e529
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c373b0886e76fe4a1a9ecb1272bdfce89b53316750b211bf92381f5dab64fe819b6d85766c6f89cd70622f4b2954833f49a62573b5c4a0d1c5f04b27fb959c6e
|
7
|
+
data.tar.gz: 799a48f914e42d48259f319e83c35485abc16e8bfa6c08d5edfddb202edd21812406e37df327e72a6b3ee8bc2bb5715691cfa5d82f0d63b7b6152a9baa76fb04
|
data/NEWS.md
CHANGED
@@ -19,6 +19,10 @@ module Nanoc::Live::Commands
|
|
19
19
|
|
20
20
|
Thread.new do
|
21
21
|
Thread.current.abort_on_exception = true
|
22
|
+
if Thread.current.respond_to?(:report_on_exception)
|
23
|
+
Thread.current.report_on_exception = false
|
24
|
+
end
|
25
|
+
|
22
26
|
view_options = options.merge('live-reload': true)
|
23
27
|
Nanoc::CLI::Commands::View.new(view_options, [], self).run
|
24
28
|
end
|
@@ -37,6 +37,7 @@ module Nanoc::Live
|
|
37
37
|
y << quit
|
38
38
|
end
|
39
39
|
|
40
|
+
puts 'Listening for site changes…'
|
40
41
|
SlowEnumeratorTools.merge([parent_enum, changes_enum]).each do |e|
|
41
42
|
break if quit.equal?(e)
|
42
43
|
|
@@ -64,7 +65,9 @@ module Nanoc::Live
|
|
64
65
|
fork { run_child(pipe_write, pipe_read) { |s| yield(s) } }
|
65
66
|
pipe_read.close
|
66
67
|
|
67
|
-
|
68
|
+
changes = gen_lib_changes
|
69
|
+
puts 'Listening for lib/ changes…'
|
70
|
+
changes.each do |_e|
|
68
71
|
# stop child
|
69
72
|
pipe_write.write('q')
|
70
73
|
pipe_write.close
|
data/lib/nanoc/live/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nanoc-live
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.0b2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Defreyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: adsf-live
|
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
90
|
version: 1.3.1
|
91
91
|
requirements: []
|
92
92
|
rubyforge_project:
|
93
|
-
rubygems_version: 2.7.
|
93
|
+
rubygems_version: 2.7.7
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: Live recompilation support for Nanoc
|