jspm / jspm-cli

ES Module Package Manager
https://jspm.org
Apache License 2.0
3.77k stars 274 forks source link

jspm 0.17 hot reloading #2089

Closed pcompassion closed 8 years ago

pcompassion commented 8 years ago

In order to use hot reloading, development bundling is a prerequisite? Or do I need to just bundle it once?

dandv commented 8 years ago

I don't think bundling is necessary? I've followed the steps in the guide and hot reloading worked, more or less:

I use nginx-1.10.1 stable and I'm very new to jspm, so I'm probably doing something wrong.

frankwallis commented 8 years ago

@dandv I had a similar issue to this and I resolved it by turning off all caching on the web server (see commit), so there is something not quite right (with the HTTP headers maybe?), but I was never able to track it down. Probably this would be better raised on the systemjs-hot-reloader repo.

dandv commented 8 years ago

@frankwallis: in the meantime I switched to Webpack 2. Its development server works flawlessly. Curiously, the setup was way simpler than I had read around. Looks like Webpack cleaned up its act.