Raynos / mercury

A truly modular frontend framework
http://raynos.github.io/mercury/
MIT License
2.82k stars 143 forks source link

Add example of hot reloading with webpack #180

Closed crabmusket closed 9 years ago

crabmusket commented 9 years ago

This is a strawman PR to see if anyone wants this as an example in the main repo. @geelen did the hard work of figuring this out; I've just boiled it down to a minimal example. Here's the readme, rendered. Maybe someone should also come up with a Browserify equivalent? I'm told it's possible, just more work.

DeepAnchor commented 9 years ago

Nice.

Maybe someone should also come up with a Browserify equivalent? I'm told it's possible, just more work.

Found this hot module replacement project targetted at browserify builds the other day. Haven't tried it yet myself, but it looks pretty nifty

Raynos commented 9 years ago

Nice work :)

martintietz commented 8 years ago

See #185 for an example of hot reloading using browserify.