Skip to content

Commit

Permalink
build for dev without watching changes
Browse files Browse the repository at this point in the history
  • Loading branch information
retrofox committed Aug 25, 2021
1 parent 3eb7d43 commit 269008e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion projects/packages/post-list/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"scripts": {
"build-development": [
"Composer\\Config::disableProcessTimeout",
"pnpm run watch"
"pnpm run start"
],
"build-production": [
"Composer\\Config::disableProcessTimeout",
Expand Down
4 changes: 2 additions & 2 deletions projects/packages/post-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"build-all": "pnpm run install-if-deps-outdated && pnpm run clean && pnpm run build",
"clean": "rm -rf build/",
"build": "wp-scripts build",
"start": "wp-scripts start",
"watch": "pnpm run start",
"start": "NODE_ENV=development wp-scripts build",
"watch": "wp-scripts start",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js"
},
Expand Down

0 comments on commit 269008e

Please sign in to comment.