Commit ba6903876dd for woocommerce
commit ba6903876dd21015f4f25447f41fbb5c6da8cb10
Author: Luigi Teschio <gigitux@gmail.com>
Date: Tue Nov 3 16:39:19 2026 +0100
Build classic assets when starting the watcher (#70575)
* Build classic assets when starting the watcher
* Add changelog entry for watcher startup builds
diff --git a/plugins/woocommerce/client/legacy/Gruntfile.js b/plugins/woocommerce/client/legacy/Gruntfile.js
index 358256932e5..6d587258e07 100644
--- a/plugins/woocommerce/client/legacy/Gruntfile.js
+++ b/plugins/woocommerce/client/legacy/Gruntfile.js
@@ -290,6 +290,7 @@ module.exports = function ( grunt ) {
] )
);
+ runQueued( [ 'assets' ] );
grunt.log.writeln( 'Watching css/ and js/ for changes...' );
}
);
diff --git a/plugins/woocommerce/client/legacy/changelog/fix-watch-initial-build b/plugins/woocommerce/client/legacy/changelog/fix-watch-initial-build
new file mode 100644
index 00000000000..c6584c694b2
--- /dev/null
+++ b/plugins/woocommerce/client/legacy/changelog/fix-watch-initial-build
@@ -0,0 +1,3 @@
+Significance: patch
+Type: dev
+Comment: Build classic assets when starting the watcher; development tooling only.