This commit is contained in:
Konnor Rogers
2025-07-18 00:34:26 -04:00
parent e6de71bc1b
commit e81b98a6be

View File

@@ -386,11 +386,7 @@ export async function build(options = {}) {
},
);
const watchEvents = [
'change',
'unlink',
'add'
];
const watchEvents = ['change', 'unlink', 'add'];
// Rebuild and reload when source files change
options.watchedSrcDirectories.forEach(dir => {
const watcher = bs.watch(join(dir, '**', '!(*.test).*'), { ignoreInitial: true });