These are chat archives for geelen/jspm-server

10th
Nov 2015
Tom Erik Støwer
@testower
Nov 10 2015 18:35
Hey I'm trying to set up jspm-server behind an nginx so proxy passing to the jspm-server port
Error: ENOTDIR, stat '/path/to/jspm-root/some-request-path/ws'
is what I'm getting in the logs
all files seems to load fine initially, it's just the websocket connection that fails
Tom Erik Støwer
@testower
Nov 10 2015 18:47
why is it trying to connect to /ws after the path? should it not simply be ws://host:port/ws ?
Jonathan Liuti
@johnraz
Nov 10 2015 18:53
never had such an issue
which version are you on ?
Tom Erik Støwer
@testower
Nov 10 2015 18:59
ah it was me being silly
didn't set the Upgrade headers in nginx config
is there a way to make all files in a certain path hot reloadable?
Tom Erik Støwer
@testower
Nov 10 2015 19:14
by default it doesn't seem to react in any way to any change at all?
Tom Erik Støwer
@testower
Nov 10 2015 19:19
I'm getting this frame OK
{"type":"good","message":"🤘 Client connected. JSPM watching enabled"}
but nothing else as I modify files