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 62ae8c3 commit d1596fdCopy full SHA for d1596fd
src/cli.ts
@@ -24,7 +24,7 @@ export const run = () => {
24
);
25
26
const server = new LocalServer({
27
- rootDir: cli.flags.input.length > 0 ? cli.flags.input[0] : process.cwd(),
+ rootDir: cli.input.length > 0 ? cli.input[0] : process.cwd(),
28
port: cli.flags.port !== undefined ? Number(cli.flags.port) : 3000
29
});
30
return server
0 commit comments