brunch / auto-reload-brunch

Adds automatic browser reloading support to brunch.
88 stars 30 forks source link

Custom file extensions (#66) #67

Closed rstacruz closed 8 years ago

rstacruz commented 8 years ago

This implements #66.

es128 commented 8 years ago

:+1:

The only concern I have is in the config option keys - match.css & match.js might be a little confusing in that format since they look so much like filenames.

Maybe something like match.styles & match.refresh could be considered as alternate names.

paulmillr commented 8 years ago

+1 — let's rename this to stylesheets and fullRefresh

rstacruz commented 8 years ago

sounds good, why not:

?

I don't understand fullRefresh though, the JavaScript matches don't necessarily do a full page load. Instead, match.javascripts will do a live JS reload when liveJs is on. The things that will trigger a fullrefresh are those that are not stylesheets nor javascripts.

es128 commented 8 years ago

Yes, that makes sense. I had forgotten that we started working on liveJS here.

rstacruz commented 8 years ago

Done!