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

Update and unify dev scripts #119

Merged
merged 11 commits into from
Dec 17, 2024
Merged

Update and unify dev scripts #119

merged 11 commits into from
Dec 17, 2024

Conversation

crbelaus
Copy link
Contributor

This pull request replaces the previous live.exs and dev.exs scripts with a new dev.exs script based on the Phoenix Playground project that includes both the Controller and LiveView examples.

There are multiple benefits of this refactor:

  • We can work using a single script instead of two
  • Phoenix Plaground provides autoreload functionality by default
  • Phoenix Playground simplifies process management and can start a supervision tree
  • Dependencies are automatically fetched and compiled separately from those in the mix.exs file.
image

To start the dev server you just run:

iex dev.exs

Closes #111

@crbelaus crbelaus requested a review from odarriba December 14, 2024 12:05
@crbelaus crbelaus self-assigned this Dec 14, 2024
Copy link
Contributor

@odarriba odarriba left a comment

Choose a reason for hiding this comment

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

🚀

@crbelaus crbelaus merged commit ef7351c into main Dec 17, 2024
3 checks passed
@crbelaus crbelaus deleted the update-dev-scripts branch December 17, 2024 17:24
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.

Merge dev.exs and live.exs in a single script
2 participants