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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07af7fba9b95c88f6ff855251fa66ff92cf1f001600dc6e324e09f91c402fb05
4
- data.tar.gz: 16111dc862f98559aafcf915d8436b1717e94e5293b90cc6be6e62b74d97abd4
3
+ metadata.gz: 7eeecefd3484786adc38e4655092c9443c33a5d438b21f10e19f7e51fd0d0b94
4
+ data.tar.gz: 6a922e2bb7a34253643cca1467a47e0c0852d39cda2c6727cbad55ba5cb4e529
5
5
  SHA512:
6
- metadata.gz: 2c2ad29c479071c3d38af11c35deb9b65d4593fc81aaa8c70c85f98e2467e21c9140030d0becfad6ed8ff7592b595cf45edbdced6bf772f0e84bc8cc7f71fb3b
7
- data.tar.gz: 3827e0624538bb45fed69f69b97df5dc2c746509884a663e518ba885461ef6485d52b317ae5be64ae16421791826ac817ff4ccbc4feb15286162d421a5a2c383
6
+ metadata.gz: c373b0886e76fe4a1a9ecb1272bdfce89b53316750b211bf92381f5dab64fe819b6d85766c6f89cd70622f4b2954833f49a62573b5c4a0d1c5f04b27fb959c6e
7
+ data.tar.gz: 799a48f914e42d48259f319e83c35485abc16e8bfa6c08d5edfddb202edd21812406e37df327e72a6b3ee8bc2bb5715691cfa5d82f0d63b7b6152a9baa76fb04
data/NEWS.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release notes for nanoc-live
2
2
 
3
+ ## 1.0.0b2 (2018-06-10)
4
+
5
+ Fixes:
6
+
7
+ * Fixed issues that could cause nanoc-live to keep running in the background, using more and more memory and CPU
8
+
3
9
  ## 1.0.0b1 (2018-01-07)
4
10
 
5
11
  Changes:
@@ -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
- gen_lib_changes.each do |_e|
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Nanoc
4
4
  module Live
5
- VERSION = '1.0.0b1'
5
+ VERSION = '1.0.0b2'
6
6
  end
7
7
  end
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.0b1
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-01-07 00:00:00.000000000 Z
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.4
93
+ rubygems_version: 2.7.7
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Live recompilation support for Nanoc