fkchang / opal-hot-reloader

Hot code reloading for Opal apps, includes React.rb support
MIT License
17 stars 8 forks source link

Also reload .rb.erb files #18

Closed sfcgeorge closed 7 years ago

sfcgeorge commented 7 years ago

Sometimes it's useful to interpolate "static" server side values into the front end code via Erb, such as ENV config or rails routes.

This pull request enables .rb.erb hot reloading which works the same as .rb.

Fixes #17

fkchang commented 7 years ago

@sfcgeorge Thanks for this!