We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe.
Currently, if port 1234 is occupied, an error is thrown directly, but there is no way to change the port.
Describe the solution you'd like
lagon dev --port 8000
The text was updated successfully, but these errors were encountered:
Good idea. We could also add the --host(name?) option, which currently defaults to localhost.
--host(name?)
localhost
But not sure about adding another dependency for ports, it should be easily feasible. Next.js does it in a few lines of code: https://github.com/vercel/next.js/blob/9342a6ccc7f59e5de481577be61859cf5372be0e/packages/next/server/lib/start-server.ts#L26
Sorry, something went wrong.
Good idea. We could also add the --host(name?) option, which currently defaults to localhost. But not sure about adding another dependency for ports, it should be easily feasible. Next.js does it in a few lines of code: https://github.com/vercel/next.js/blob/9342a6ccc7f59e5de481577be61859cf5372be0e/packages/next/server/lib/start-server.ts#L26
Looks good, I can submit a pr later~
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
Currently, if port 1234 is occupied, an error is thrown directly, but there is no way to change the port.
Describe the solution you'd like
lagon dev --port 8000
The text was updated successfully, but these errors were encountered: