Skip to content

Commit

Permalink
Try to fix start for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wonderwhy-er committed Oct 28, 2024
1 parent 8e7220e commit 8dfef52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"test:watch": "vitest",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"lint:fix": "npm run lint -- --fix",
"start": "bindings=$(./bindings.sh) && wrangler pages dev ./build/client $bindings --ip 0.0.0.0 --port 3000",
"start": "sh -c '[[ \"$(uname -s)\" == *NT* ]] && wrangler pages dev ./build/client --ip 0.0.0.0 --port 3000 || (bindings=$(./bindings.sh) && wrangler pages dev ./build/client $bindings --ip 0.0.0.0 --port 3000)'",
"typecheck": "tsc",
"typegen": "wrangler types",
"preview": "pnpm run build && pnpm run start"
"preview": "npm run build && npm run start"
},
"engines": {
"node": ">=18.18.0"
Expand Down

0 comments on commit 8dfef52

Please sign in to comment.