Skip to content

Commit

Permalink
fix server start for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Mar 7, 2024
1 parent e1106df commit a7ded1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/tools/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spawn('node', ['build/tools/copy.js', '1'], {
stdio: 'inherit',
});

spawn('./node_modules/.bin/servez', ['out'], {
spawn('npm', ['run', 'server'], {
shell: true,
stdio: 'inherit',
});
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"build": "node build/tools/build.js",
"start": "node build/tools/serve.js",
"serve": "node build/tools/serve.js",
"server": "servez out",
"watch": "rollup -c -w",
"export": "npm run build"
},
Expand Down

0 comments on commit a7ded1b

Please sign in to comment.