guard-webpack 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/guard/webpack/runner.rb +4 -1
- data/lib/guard/webpack/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: 4a4a9dc38f4b5e0f4ae340f2bf01c2f40600d096
|
4
|
+
data.tar.gz: e5d4065c06faa6ffbe6daf6aa9494ce7676eb6f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 355a4338c74e28bcbd35acad4196379105790815f5d1b4d0ffb9e4a2c3c770a2254cb373451b3fbfbd7b0e16c2e9d50879a358cee9ce9b872fa448e6169bf325
|
7
|
+
data.tar.gz: bf35deede585e99961808223e8e43539fcb2f2cf56f0cea52c2968988064b91d6ca35e2838206db7a1843a1b4175db8eecfa970b5cdfca19aec31aba6d2018a2
|
data/lib/guard/webpack/runner.rb
CHANGED
@@ -53,10 +53,13 @@ module Guard
|
|
53
53
|
|
54
54
|
def run_webpack
|
55
55
|
begin
|
56
|
-
|
56
|
+
pid = fork{ exec("#{webpack_bin} --watch #{option_flags}") }
|
57
|
+
Process.wait(pid)
|
57
58
|
rescue
|
58
59
|
# TODO: Be more discerning.
|
59
60
|
::Guard::UI.error "Webpack unable to start (are you sure it's installed?)"
|
61
|
+
ensure
|
62
|
+
Process.kill('TERM',pid)
|
60
63
|
end
|
61
64
|
end
|
62
65
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-webpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Gisi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard
|