brunch / auto-reload-brunch

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

auto-reload-brunch hack for backend express #84

Open kswope opened 6 years ago

kswope commented 6 years ago

I hacked a 'backend development' feature into auto-reload-brunch to help me with some dev work and as a proof of concept. Its working pretty well so I'm sharing it. Maybe there's something already like it, but if there is, it should be easier to find.

Its probably outside the scope of auto-reload-brunch so I'm not attempting a PR, but is it really? I found the usual custom --server not useful for backend work because it doesn't reload and doesn't interface well with an express app.

If you don't include the necessary configs in brunch-config.js nobody would even know its even there.

https://github.com/kswope/auto-reload-brunch-express