We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9202bca commit 503b02cCopy full SHA for 503b02c
src/watch.ts
@@ -57,7 +57,7 @@ export async function watch(sourceDirectory: string, hackmudDirectory: string, {
57
}
58
59
const watcher = watchDirectory(
60
- [ `*/*.ts`, `*/*.js` ],
+ [ `*.ts`, `*.js`, `*/*.ts`, `*/*.js` ],
61
{ cwd: sourceDirectory, awaitWriteFinish: { stabilityThreshold: 100 }, ignored: `*.d.ts` }
62
).on(`change`, async path => {
63
if (path.endsWith(`.d.ts`))
0 commit comments