From 08408fff9023a8e62b06a2cd7c9aac3002968756 Mon Sep 17 00:00:00 2001 From: Agung Sundoro Date: Sat, 8 Jul 2023 10:20:33 +0700 Subject: [PATCH] fix: gruntfile error --- Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 3d4b8d4..70ec973 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -67,7 +67,7 @@ module.exports = function (grunt) { livereload: false, }, blocks: (() => { /** WordPress Blocks and Shortcodes (React JS) */ - let watcher = {}; + let watcher = { files: [] }; componentConfig.map((b) => { let FilesTasks = { files: [ @@ -81,7 +81,7 @@ module.exports = function (grunt) { return watcher; })(), components: (() => { /** Svelte Components */ - let watcher = {}; + let watcher = { files: [] }; componentConfig.map((c) => { let FilesTasks = { files: [