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 =>