From 6e6fcc2f0eab516a34c39715a068e47bf040592e Mon Sep 17 00:00:00 2001 From: Benjamin Milde Date: Sun, 3 Dec 2017 11:57:05 +0100 Subject: [PATCH] =?UTF-8?q?Let=20process.stdin=20actually=20trigger=20it?= =?UTF-8?q?=E2=80=99s=20end=20event?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/src/run/watch.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/src/run/watch.js b/bin/src/run/watch.js index fd8d91ae010..5216acb4a10 100644 --- a/bin/src/run/watch.js +++ b/bin/src/run/watch.js @@ -96,6 +96,7 @@ export default function watch(configFile, configs, command, silent) { // only listen to stdin if it is a pipe if (!process.stdin.isTTY) { process.stdin.on('end', close); // in case we ever support stdin! + process.stdin.resume() } function close() {