blaise-io / live-reload

Browser extension for web devs. Monitors source files on a page and reloads page or source file when a change is detected.
MIT License
60 stars 9 forks source link

Not working for me with file:// URLs #3

Closed Yolo-Jerome closed 6 years ago

Yolo-Jerome commented 6 years ago

(sorry I also was #2 but I used the wrong account)

It is not working for me unfortunately.

I'm using Doxygen 1.8.13 to generate .html, .css, .js and .png files to a folder lets say file:///C:/html/

So in the PlugIn I configured the following Paths: Host URL: file:///C:/html/*.html

Source file URLs file:///C:/html*

Monitor source URLs every [2] seconds

But after a new build from Doxgen the page gets never reloaded.

blaise-io commented 6 years ago

Due to security restrictions in Firefox extensions, web extensions cannot access the local filesystem to monitor for file changes. A workaround is to serve local files over http using Python, NodeJS or PHP.

I'll add it once it's technically possible to monitor the local file system using a web extension.