johnpapa / lite-server

Lightweight node server
MIT License
2.31k stars 267 forks source link

Autoreload stop works after added a new middleware module #110

Closed diogoca closed 7 years ago

diogoca commented 8 years ago

Hi,

After put a new middleware via my-bs-config.js auto-reload stopped works. I need to do the reload manually.

my-bs-config: module.exports = { server: { middleware: { 3: require('browsersync-ssi')({ baseDir: './', ext: '.html', version: '1.4.0' }) } } };

I'm looking for a ssi solution with live-reload. Any idea? Thanks.