Refreshing is a Chrome extension for reloading file:// pages when their on-disk content changes.
Because Chrome doesn't expose APIs that allow extensions to detect file changes on your filesystem, getting Refreshing to work requires running a small Node.js server in addition to having the extension installed. The extension asks the server to watch for file changes on its behalf.
- Open Chrome's extension menu (Chrome menu -> Tools -> Extensions).
- Check the 'Developer mode' box in the upper right to expose the "Load unpacked extension..." button.
- Click the 'Load unpacked extension...' button and choose the 'chrome-extension' folder of this repository with the file-picker
- Refreshing is installed!
- Execute something like this in a terminal: node node-server/server.js
- The server is running!
- When viewing a file on your local filesystem (see that the protocol in your address bar is 'file://'), the refreshing icon will show up in the right of the address bar.
- Click the refreshing icon then click start.
- Refreshing is refreshing!