https://github.com/icholy/reloader
auto reload for webdev
https://github.com/icholy/reloader
Last synced: 4 months ago
JSON representation
auto reload for webdev
- Host: GitHub
- URL: https://github.com/icholy/reloader
- Owner: icholy
- Created: 2013-10-18T15:02:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-18T15:23:21.000Z (over 11 years ago)
- Last Synced: 2025-01-30T03:13:10.535Z (5 months ago)
- Language: Python
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reloader
> Reloader can accelerate web development by automatically refreshing your pages (in multiple browsers) when a file is locally modified. If a css file is modified, only stylsheets are reloaded.
### Deps:
``` sh
$ pip install twisted
$ pip install pyinotify
```- the rest should already be installed
### Usage:
Start the server:
``` sh
$ python reloader.py --path /var/www/projectdir/ --strict
```
Add this tag to your html:``` html
```
### Options:
```
usage: reloader.py [-h] [-p PATH] [-s] [-v]optional arguments:
-h, --help show this help message and exit
-p PATH, --path PATH the directory to monitor
-s, --strict only watch: css xml html php js asp png jpeg jpg gif
-v, --verbose
```### Tested Browsers:
* firefox 4
* chrome 11
* internet explorer 7
* safari 3
* opera 11### Note:
I wrote this several years ago and better alternatives now exist.