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

hermit: Upgrade servedir to 0.0.3 #235

Merged
merged 1 commit into from
Jan 7, 2024
Merged

hermit: Upgrade servedir to 0.0.3 #235

merged 1 commit into from
Jan 7, 2024

Conversation

camh-
Copy link
Member

@camh- camh- commented Jan 7, 2024

Upgrade servedir to 0.0.3 so I can make use of its new feature to
configure it via environment variables. Because my web browser is on a
different machine to where I do development (my server), using
make serve does not work for me with the defaults - I want to set the
port and specify -a. This has always meant keeping a dirty Makefile
around with my parameters on the servedir invocation.

Now I can use direnv and put a .envrc file in my evy directory that
contains my config for how I want to run servedir and not keep a dirty
Makefile around (I have .envrc in my git global ignore since I never
want to commit that).

Upgrade servedir to 0.0.3 so I can make use of its new feature to
configure it via environment variables. Because my web browser is on a
different machine to where I do development (my server), using
`make serve` does not work for me with the defaults - I want to set the
port and specify `-a`. This has always meant keeping a dirty `Makefile`
around with my parameters on the servedir invocation.

Now I can use `direnv` and put a `.envrc` file in my evy directory that
contains my config for how I want to run servedir and not keep a dirty
Makefile around (I have `.envrc` in my git global ignore since I never
want to commit that).
Copy link
Member

@juliaogris juliaogris left a comment

Choose a reason for hiding this comment

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

Anything that makes frontend dev or debugging easier for you 🍭
🦚

@camh- camh- merged commit db062ef into main Jan 7, 2024
3 checks passed
@camh- camh- deleted the update-servedir branch January 7, 2024 05:24
@juliaogris juliaogris added this to the 🚸 Learn v0.2.0 milestone Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants