Skip to content

Commit

Permalink
Fixed @woocomerce/classic-assets Watch Command (woocommerce#44627)
Browse files Browse the repository at this point in the history
The `watch:build` setup in this package does not conform to
the expects format and so the build command was not being
run. This fixes that and ensures it gets executed correctly.
  • Loading branch information
ObliviousHarmony authored Feb 14, 2024
1 parent 1ddd904 commit eb543f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions plugins/woocommerce/changelog/fix-classic-asset-watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: dev
Comment: This is a tooling-only build change


3 changes: 2 additions & 1 deletion plugins/woocommerce/client/legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"build:project": "pnpm --if-present '/^build:project:.*$/'",
"build:project:assets": "wireit",
"watch:build": "pnpm --if-present --workspace-concurrency=Infinity --filter=\"$npm_package_name...\" --parallel '/^watch:build:project:.*$/'",
"watch:build:project": "pnpm build:project --watch"
"watch:build:project": "pnpm --if-present run '/^watch:build:project:.*$/'",
"watch:build:project:assets": "pnpm build:project --watch"
},
"devDependencies": {
"@types/node": "^16.18.68",
Expand Down

0 comments on commit eb543f5

Please sign in to comment.