You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I was trying to set this up to monitor my files being changed within a specific directory on my local machine, but the Sources input field is requiring a URL.
Is there a way around this validation and if so, will it work with the local files?
The text was updated successfully, but these errors were encountered:
It is not possible for a web extension to read file from your local computer. This is an important safety measure built into browsers. I think this info should be in the readme, but on the official firefox live-reload addon page this is mentioned:
Due to security restrictions in web extensions, files served using the file system (file://...) cannot be monitored. A quick and easy workaround is to serve local files over http using Python, NodeJS or PHP.
These links point to relatively easy ways to 'serve' files from your local machine. I usually like using a virtual server setup to mimic the software and settings of the server where the live site will be hosted. My favorite solution for this is Lando which is an open source solution to make using docker much easier.
Hello! I was trying to set this up to monitor my files being changed within a specific directory on my local machine, but the Sources input field is requiring a URL.
Is there a way around this validation and if so, will it work with the local files?
The text was updated successfully, but these errors were encountered: