axelson
Scenic Starter Pack - Scenic Starter with Live Reload
I’ve been playing around with Scenic and it is super fun. However, I got tired of constantly restarting and relaunching my application so I made this starter pack (that builds on scenic_new) to provide live reload-type functionality. Just edit your file and you’ll see the scene reloaded nearly instantly!
Here’s a demo where I replace the text “World” with “Scenic”, then change the color of the text to purple. Next I change the shape of the bézier curve:

Check it out on GitHub!
https://github.com/axelson/scenic-starter-pack
Most Liked
Eiji
axelson
I’d be glad to release it as a library (or directly integrate it). Although I’m not sure how I’d do that because right now the implementation is quite invasive, you need to render the Navigation component in your graph and pass it your scene (that you have registered by name). Although if it was integrated into Scenic you may be able to avoid that work. All you really need in scenic is a way to kill the currently running scene. I’ll have to look at what hooks scenic provides.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









