geelen / jspm-server

A live-reloading development server for JSPM
144 stars 12 forks source link

generated html file not causing reload #16

Open omerts opened 9 years ago

omerts commented 9 years ago

Hello,

I have a package which generates an html file, after running unit tests. The jspm-server recognizes the change, but doesn't reload the page.

Change detected: karma\Chrome_43.0.2357_(Windows_7_0.0.0)\index.html
Change detected: karma\Chrome_43.0.2357_(Windows_7_0.0.0)\index.html
geelen commented 9 years ago

Hmm, that output is in your terminal, not the browser console, yes? What does your browser console output?

omerts commented 9 years ago

Yes the output is from the terminal. In the browser I only see the following: image

For what it's worth, live-server is reloading the page correctly. Also if I go to the site's root, the page does reload, when karma's index.html is changed.

omerts commented 9 years ago

I just notices, that any file, that is not the main index file, is not reloading on file change. Maybe I am doing something wrong?

geelen commented 9 years ago

I've just realised you must be on Windows. I haven't even tested there, I bet I'm doing something silly with / vs \ :)