From 831cfd74e58fea13c0ae5efd5f235e522b5bd6f3 Mon Sep 17 00:00:00 2001 From: Kushagra Gour Date: Tue, 20 Feb 2024 10:59:07 +0530 Subject: [PATCH] add json file to build watcher --- gulpfile.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index ebca091..755ad48 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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(); }