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
61 stars 9 forks source link

Monitor the local file system instead of urls (await browser support) #26

Open ActualBest opened 3 years ago

ActualBest commented 3 years ago

I know this issue already exists, but it's locked, so...

In chrome://extensions, there is a toggle for allowing extensions access to file:/// urls. image Is it possible to let the extension try to access the file:/// urls?

blaise-io commented 3 years ago

I believe as a user you'd have to select files or a directory using a "Browse..."-like interface.

This is a very different approach than the file name pattern approach currently used. file:// uris would require a different UI to define reload rules. So don't expect anything on the short term.

If browsers (Firefox and Chrome) start allowing file system access to web extensions using the permission system instead of a browser setting, I will rewrite the plugin to use that.

ActualBest commented 3 years ago

Ok, makes sense, thanks for replying :)

my86upNW commented 5 months ago

qrcode_raw githubusercontent com