We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3da99a commit 291d12dCopy full SHA for 291d12d
src/main.ts
@@ -3,6 +3,8 @@
3
const isServer = process.argv.length > 2 && process.argv[2] === "server";
4
5
if (isServer) {
6
+ // Remove 'server' from args since main-server doesn't expect it as a positional argument.
7
+ process.argv.splice(2, 1);
8
// eslint-disable-next-line @typescript-eslint/no-require-imports
9
require("./main-server");
10
} else {
0 commit comments