Skip to content

Commit fa82f73

Browse files
committed
fix #144
1 parent 771b929 commit fa82f73

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/watch.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ export const watch = async (
6464
scriptNamesToUsers.get(scriptName).add(user)
6565
}
6666

67-
const watcher = watchDirectory([ `*.ts`, `*.js` ], {
68-
depth: 1,
67+
const watcher = watchDirectory([ `*/*.ts`, `*/*.js` ], {
6968
cwd: sourceDirectory,
7069
awaitWriteFinish: { stabilityThreshold: 100 },
7170
ignored: `*.d.ts`

0 commit comments

Comments
 (0)