Commit ef7351c
authored
Update and unify dev scripts (#119)
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.
To start the dev server you just run:
```
iex dev.exs
```1 parent 23f00f4 commit ef7351c
3 files changed
+227
-304
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
| 65 | + | |
68 | 66 | | |
69 | 67 | | |
70 | | - | |
| 68 | + | |
71 | 69 | | |
0 commit comments