webpack_driver 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/webpack_driver/configuration.rb +0 -1
- data/lib/webpack_driver/process.rb +4 -4
- data/lib/webpack_driver/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dad579448a101e34dd5551f75caa200b4ab3ce51
|
4
|
+
data.tar.gz: 6d1a90ade82516a21086df7d7b04fc656d90d1eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6595da1ed44fe81a525ef2f7aec712321fe7a828efa70c0c197a540c0f40bbe22859e6ea378969eed2d166170a34deb824704757f26842deacec0d0f60939b7
|
7
|
+
data.tar.gz: d3507e717fa9e05feb61ecc0d9a905f877640cfae7d143bd5ffb8b06a2c475c25aada500ced763d76dcdcc40e9638f9899e90ab49c3073040a82d9d7180b274f
|
@@ -71,7 +71,10 @@ module WebpackDriver
|
|
71
71
|
end
|
72
72
|
|
73
73
|
def record_message(msg)
|
74
|
-
|
74
|
+
unless msg['type'] == 'progress'
|
75
|
+
@messages << msg
|
76
|
+
config.logger.debug(msg)
|
77
|
+
end
|
75
78
|
case msg['type']
|
76
79
|
when 'status'
|
77
80
|
@last_status = msg['value']
|
@@ -83,8 +86,6 @@ module WebpackDriver
|
|
83
86
|
record_error(msg['value'])
|
84
87
|
when 'config'
|
85
88
|
config.output_path = Pathname.new(msg['value']['output_path'])
|
86
|
-
else
|
87
|
-
config.logger.debug(msg)
|
88
89
|
end
|
89
90
|
end
|
90
91
|
|
@@ -96,7 +97,6 @@ module WebpackDriver
|
|
96
97
|
match = l.match(/^STATUS: (.*)/)
|
97
98
|
if match
|
98
99
|
record_message(JSON.parse(match[1]))
|
99
|
-
config.logger.debug(l.chomp)
|
100
100
|
else
|
101
101
|
config.logger.info(l.chomp)
|
102
102
|
end
|