mirror of
https://github.com/chinchang/web-maker.git
synced 2025-06-10 19:50:51 +02:00
add json file to build watcher
This commit is contained in:
11
gulpfile.js
11
gulpfile.js
@ -277,10 +277,13 @@ const buildExtension = series(
|
|||||||
);
|
);
|
||||||
|
|
||||||
function runWatcher(cb) {
|
function runWatcher(cb) {
|
||||||
return watch(['src/**/*.js', 'src/**/*.jsx'], function (cbb) {
|
return watch(
|
||||||
buildExtension();
|
['src/**/*.js', 'src/**/*.jsx', 'src/**/*.json'],
|
||||||
cbb();
|
function (cbb) {
|
||||||
});
|
buildExtension();
|
||||||
|
cbb();
|
||||||
|
}
|
||||||
|
);
|
||||||
cb();
|
cb();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user