From 503b02cd65a276f15709ebfd8c4bdb38523b2d7a Mon Sep 17 00:00:00 2001 From: Samual Norman Date: Sat, 27 Apr 2024 10:43:39 +0100 Subject: [PATCH] Update watch.ts --- src/watch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/watch.ts b/src/watch.ts index b0fa73e..f177a3c 100644 --- a/src/watch.ts +++ b/src/watch.ts @@ -57,7 +57,7 @@ export async function watch(sourceDirectory: string, hackmudDirectory: string, { } const watcher = watchDirectory( - [ `*/*.ts`, `*/*.js` ], + [ `*.ts`, `*.js`, `*/*.ts`, `*/*.js` ], { cwd: sourceDirectory, awaitWriteFinish: { stabilityThreshold: 100 }, ignored: `*.d.ts` } ).on(`change`, async path => { if (path.endsWith(`.d.ts`)) -- knotmirror 0.0.1