shakyShane / browser-sync-spa

Better Single Page App support for BrowserSync
29 stars 15 forks source link

Not working for base root #10

Closed micaelmbagira closed 8 years ago

micaelmbagira commented 8 years ago

I have an app with SystemJS and I set up browsersync-spa this way browserSync.use(spa());. So when I browser localhost:8080/home it works. But when I go on localhost:8080/ it doesn't work and I have Cannot GET /. When I disable browsersync-spa, localhost:8080/ does work but localhost:8080/home does not.

Is there some settings I am missing ?

micaelmbagira commented 8 years ago

Solved by fixing server.baseDir in Browsersync conf.