phoenixframework / phoenix_live_reload

Provides live-reload functionality for Phoenix
MIT License
315 stars 90 forks source link

feat: Add option to trigger full page reloads on css changes #123

Closed Blond11516 closed 2 years ago

Blond11516 commented 2 years ago

Fixes https://github.com/phoenixframework/phoenix_live_reload/issues/122

Adds a configuration option to trigger full page reloads when a CSS asset changes.

In the client, if the option is true, the strategy for reloading css files is set to pageStrategy, which is the same as what is used by all other asset types.

josevalim commented 2 years ago

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart: