@madebyseed/seed-cli-tools 2.3.1 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -73,12 +73,10 @@ gulp.task('watch:js', function () {
73
73
  ignoreInitial: true
74
74
  }).on('all', function (event, path) {
75
75
  messages.logFileEvent(event, path);
76
- processThemeJs().then(function () {
77
- // Touch JS files after processing to ensure Shopify detects changes
78
- setTimeout(function () {
79
- touchJsFiles();
80
- }, 500);
81
- });
76
+ processThemeJs();
77
+ setTimeout(function () {
78
+ touchJsFiles();
79
+ }, 500);
82
80
  });
83
81
  });
84
82
  gulp.task('build:vendor-js', function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@madebyseed/seed-cli-tools",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Seed CLI Tools",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -58,5 +58,5 @@
58
58
  "webpack-stream": "^7.0.0",
59
59
  "yargs": "^17.0.1"
60
60
  },
61
- "gitHead": "018f1210f603f30c38dfb6cc17eb66967072e3b3"
61
+ "gitHead": "3b3d003a98a25e96b48813718481f68250d5943d"
62
62
  }
@@ -60,12 +60,11 @@ gulp.task('watch:js', () => {
60
60
  chokidar.watch([config.src.js, `!${config.roots.vendorJs}`, `!${config.src.vendorJs}`], {ignoreInitial: true})
61
61
  .on('all', (event, path) => {
62
62
  messages.logFileEvent(event, path);
63
- processThemeJs().then(() => {
64
- // Touch JS files after processing to ensure Shopify detects changes
65
- setTimeout(() => {
66
- touchJsFiles();
67
- }, 500);
68
- });
63
+ processThemeJs();
64
+
65
+ setTimeout(() => {
66
+ touchJsFiles();
67
+ }, 500);
69
68
  });
70
69
  });
71
70