Move the TypeScript start message to the proper location

This commit is contained in:
Manuel Thalmann 2021-05-11 19:52:09 +00:00
parent fefbad1687
commit 7751bd0006

View file

@ -198,8 +198,6 @@ export async function Build(): Promise<void>
{
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 =>