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

Better local dev server #3959

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Better local dev server #3959

merged 1 commit into from
Jul 9, 2024

Conversation

beechnut
Copy link
Contributor

@beechnut beechnut commented Jul 1, 2024

Something is wrong with the ./serve command — that & detaches a process, and I'm often running into port conflicts that have to be shut down with killport.

There's a better way.

This commit:

  • Adds a Foreman-based local dev server:
    • Adds a Procfile for building assets and running the server
    • Adds instructions to the README for using this
    • Corrects references to localhost in the README

You can still use the ./serve commands if they work for you.

Closes #3819

Something is wrong with the `./serve` command — that `&` detaches a process, and I'm often running into port conflicts that have to be shut down with `killport`.

There's a better way.

This commit:

- Adds a Foreman-based local dev server:
  - Adds a Procfile for building assets and running the server
  - Adds instructions to the README for using this
  - Corrects references to localhost
@beechnut beechnut requested a review from a team as a code owner July 1, 2024 16:14
Copy link
Contributor

@caleywoods caleywoods left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Worked perfectly for me locally.

@beechnut beechnut merged commit 69540cf into main Jul 9, 2024
5 checks passed
@beechnut beechnut deleted the easier-server branch July 9, 2024 17:30
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

Successfully merging this pull request may close these issues.

Serve command runs in background
2 participants