Closed rudyhuynh closed 7 years ago
Hi rudy, what is the command are you running?
fast-live-reload -s ./outputs
@rudyhuynh Thank you a lot for the bug report.
The bug is that the reload injection script is being injected inside the iframe as well, and I will fix this this evening. I'm just building a test to ensure it will never happen again.
But since you're already serving a folder, why don't you just try to access the file directly? Like just going to: http://localhost:9000/my-file.html
in the browser? fast-live-reload
is by default injecting a script into the page, in order to do the reload automatically.
The IFrame reloading is for sites that do redirects back to the site itself due to security reasons, so you can't just proxy them with -s http://site/...
.
Step to reproduce:
Actual: Browser refresh to http://localhost:9000
Expected: Browser refresh to http://localhost:9000/my-file.html