From 5798120bc1b5bd60c717d898b1a8a12a5a97d636 Mon Sep 17 00:00:00 2001 From: Sahil Rajput Date: Fri, 19 Aug 2022 18:48:38 +0530 Subject: [PATCH] Fix show output of the start command before task runs --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 7fb323a..6658e3f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -93,7 +93,7 @@ task('watch', 'Start the file watcher') } if (taskConfig.start) { try { - execSync(taskConfig.start, { stdio: 'pipe' }) + execSync(taskConfig.start, { stdio: 'inherit' }) } catch (error) { console.log("Faile to execute 'start' script:", taskConfig.start) console.error(error)