We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2772a4c commit 734639cCopy full SHA for 734639c
lib/cli.js
@@ -327,7 +327,15 @@ Cli.runNpmHook = function runNpmHook(hook) {
327
log.error('Unable to run spawn command ' + err);
328
});
329
spawned.stdout.on('data', function(data) {
330
- log.info(data.toString());
+ var dataLines = data.toString().split('\n');
331
+ for (var i = 0; i < dataLines.length; i++) {
332
+ if (dataLines[i].length) {
333
+ log.info(dataLines[i]);
334
+ if (dataLines[i].indexOf('watch ready') > -1) {
335
+ return q.resolve();
336
+ }
337
338
339
340
spawned.stderr.on('data', function(data) {
341
log.info(data.toString());
0 commit comments