1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-25 16:01:14 +02:00

add json file to build watcher

This commit is contained in:
Kushagra Gour
2024-02-20 10:59:07 +05:30
parent 7371143671
commit 831cfd74e5

View File

@@ -277,10 +277,13 @@ const buildExtension = series(
);
function runWatcher(cb) {
return watch(['src/**/*.js', 'src/**/*.jsx'], function (cbb) {
buildExtension();
cbb();
});
return watch(
['src/**/*.js', 'src/**/*.jsx', 'src/**/*.json'],
function (cbb) {
buildExtension();
cbb();
}
);
cb();
}