From 6d8fb67d2a0ea3fd5e4bd351b79db2afa1b5f8b0 Mon Sep 17 00:00:00 2001 From: ev1stensberg Date: Mon, 28 Jan 2019 14:11:55 +0100 Subject: [PATCH] chore: one liner after log --- bin/cli.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/cli.js b/bin/cli.js index a7baee2ed8f..2145e6d4e37 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -487,10 +487,8 @@ For more information, see https://webpack.js.org/api/cli/.`); process.stdin.resume(); } compiler.watch(watchOptions, compilerCallback); - if (compiler.close) { - compiler.close(compilerCallback); - } if (outputOptions.infoVerbosity !== "none") console.error("\nwebpack is watching the files…\n"); + if (compiler.close) compiler.close(compilerCallback); } else { compiler.run(compilerCallback); if (compiler.close) {