Skip to content

Commit 503b02c

Browse files
Update watch.ts
1 parent 9202bca commit 503b02c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/watch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export async function watch(sourceDirectory: string, hackmudDirectory: string, {
5757
}
5858

5959
const watcher = watchDirectory(
60-
[ `*/*.ts`, `*/*.js` ],
60+
[ `*.ts`, `*.js`, `*/*.ts`, `*/*.js` ],
6161
{ cwd: sourceDirectory, awaitWriteFinish: { stabilityThreshold: 100 }, ignored: `*.d.ts` }
6262
).on(`change`, async path => {
6363
if (path.endsWith(`.d.ts`))

0 commit comments

Comments
 (0)