mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
prettier
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user