perf(theme): improve prepare pages watch (#225)
This commit is contained in:
parent
b2224d33d4
commit
3c5c0272d2
@ -24,7 +24,7 @@ export function watchPrepare(
|
||||
app: App,
|
||||
watchers: any[],
|
||||
): void {
|
||||
const pagesWatcher = watch('pages/**', {
|
||||
const pagesWatcher = watch('pages/**/*.js', {
|
||||
cwd: app.dir.temp(),
|
||||
ignoreInitial: true,
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user