opal-webpack-loader 0.4.3 → 0.4.4

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: 5844c1f1f0b43a538595aca2d51b2e44bc7fe299b4f5d0a5ec1d38ea8ff0f0c0
4
- data.tar.gz: 22d8cd29afbf0a7e6289f7d4c2c807389cea5a6162120c49554e35f55719a480
3
+ metadata.gz: 7aa55937b3915292ac13d9c66b4bf9f6f737ad5836afc702272ea97614045730
4
+ data.tar.gz: 00f9d0764d203b8303b7b1691481cdebad1a47b158e31f99d64b65405ab46de4
5
5
  SHA512:
6
- metadata.gz: 428ecbfd1123558f6dd2f7c1190e5323c833e2b683351173ea7a7da6509c06e5ead790f7ffa2a4d8b73eb8bb03f087ae46bf06d54b4cce8d739075c81ee8ca29
7
- data.tar.gz: 2177742b72b9a405ef236381659043b5cedeed8923e74c8d617e27a339ce87b15660d38eba3c778ce8b71e114bacb7cdb1d2f490ec1ce01609457bda447e8f49
6
+ metadata.gz: bf301a2b0c3810e3f3a42fa2eb4338f9a5274de6e1fd786fe29de4906700be1c5669fa6259dbdfdce55d8752b178329ee0f0814f9ff93152b15c6985ffa63164
7
+ data.tar.gz: 46f32a4d6ca22642aff5bdf70a16ea069b03826c7e11c1653eab1a7c6220bb658dcbffbb5a52ab6e207638bcf8f1784c6100472e40a3265efa8ca6225aa30f86
@@ -14,7 +14,7 @@ else
14
14
  runargs = ARGV
15
15
  end
16
16
 
17
- fork { OpalWebpackCompileServer::Exe.run }
17
+ pid = fork { OpalWebpackCompileServer::Exe.run }
18
18
 
19
19
  have_socket = false
20
20
  start_time = Time.now
@@ -26,6 +26,7 @@ else
26
26
  if Time.now - start_time > 60
27
27
  puts "opal-webpack-compile-server didnt start in time. Exiting"
28
28
  OpalWebpackCompileServer::Exe.stop(false)
29
+ Process.kill("TERM", pid)
29
30
  exit 1
30
31
  end
31
32
  end
@@ -35,6 +36,7 @@ else
35
36
  puts "opal-webpack-compile-server couldn't start:"
36
37
  puts e.backtrace.join("\n")
37
38
  puts e.message
39
+ Process.kill("TERM", pid)
38
40
  exit 1
39
41
  end
40
42
 
@@ -54,6 +56,8 @@ else
54
56
  end
55
57
  rescue Interrupt => e
56
58
  puts "opal-webpack-compile-server got interrupted. Exiting with drama."
59
+ Process.kill("TERM", pid)
57
60
  exit 0
58
61
  end
62
+ Process.kill("TERM", pid)
59
63
  end
@@ -1,3 +1,3 @@
1
1
  module OpalWebpackLoader
2
- VERSION="0.4.3"
2
+ VERSION="0.4.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-webpack-loader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-20 00:00:00.000000000 Z
11
+ date: 2018-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal