From 7751bd00065f85ca1b45a4d886193c33abf3d06e Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 11 May 2021 19:52:09 +0000 Subject: [PATCH] Move the TypeScript start message to the proper location --- gulpfile.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gulpfile.ts b/gulpfile.ts index 38a1b08..a38ca7b 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -198,8 +198,6 @@ export async function Build(): Promise { if (settings.Watch) { - logger.info(watchStartMessage); - syncer.init({ open: false, proxy: "http://localhost", @@ -255,6 +253,11 @@ export function Library(): NodeJS.ReadWriteStream let files = (tsConfig.files as string[]).map( (file) => relative(settings.TypeScriptSourceRoot(), settings.TypeScriptProjectRoot(file))); + if (settings.Watch) + { + logger.info(watchStartMessage); + } + for (let file of files) { let builder = (): NodeJS.ReadWriteStream =>