phoenix_playground
phoenix_playground copied to clipboard
Question: autoreload when deps change?
In the ErrorTracker we are using Phoenix Playground for development purposes.
We have a dev.exs script that runs an example Phoenix application with the ErrorTracker as a dependency. This script is built with Phoenix Playground.
The goal is to have a sample application to test the ErrorTracker integration and the dashboard, so we can make changes and see how they look and feel.
Currently, when we make a change to the ErrorTracker we have to manually kill it and restart it again. This is not a big deal, but I wonder if there is a way to instruct the Phoenix Playground to recompile itself when changes are made.
Thank you for the report. I will look into it. In the meantime, can you try https://github.com/thmsmlr/livescript? If you do so, make sure to call PhoenixPlayground.start(..., live_reload: false) since LiveScript does reloading too.
Thanks @wojtekmach
Will check LiveScript (hopefully this week) and report back!