Skip to content
New issue

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

Docs for customizing starting a dev server #1383

Open
jwoertink opened this issue Sep 16, 2024 · 0 comments
Open

Docs for customizing starting a dev server #1383

jwoertink opened this issue Sep 16, 2024 · 0 comments

Comments

@jwoertink
Copy link
Member

This section should mention show to use the DEV_PORT env and also how the config/watch.yml works.
https://luckyframework.org/guides/getting-started/starting-project#start-the-server

To change your port or host, you update your config/watch.yml, but if you use overmind or other such process runners, these use PORT which causes your config/watch.yml to be ignored, so you need to use DEV_PORT or DEV_HOST env. However, because the .env file isn't read until runtime, you need the DEV_PORT and DEV_HOST values to exist before compile time which means they need to be specified in the CLI (e.g. DEV_PORT=3004 lucky dev)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant