fbonetti / elm-rails

View helpers for incorporating Elm modules into Rails views
MIT License
75 stars 20 forks source link

Dependency Tracking #2

Closed rtfeldman closed 8 years ago

rtfeldman commented 8 years ago

Here's the snippet we've been using for our Sprockets integration at NoRedInk—it includes dependency tracking, so it will recompile the assets if any dependent file changes.

Hope it helps!

https://gist.github.com/rtfeldman/db7b121100b6c6ff435b

fbonetti commented 8 years ago

Thanks for the gist! It looks like a couple people have opened PRs to integrate this code into the project.