FILEWATCH
FILEWATCH is a file watcher that allows you to watch files if something changes run arguments
Installation 🚀
REQUIREMENTS
- Python Should Be Installed On The Machine
- Package Requirements
click
, colorama
, commonmark
, Pygments
, rich
.
$ pip install filewatch
Usage 😎
Get Help
> python -m filewatch --help
Usage: python -m filewatch [OPTIONS]
FILEWATCH is a file watcher that allows you to watch files if something
changes run arguments
Options:
-p, --path TEXT Path of file to watch
-args, --arguments TEXT Arguments to run when file changes
-d, --delay INTEGER Delay in seconds
--help Show this message and exit.
Basic Use
python -m filewatch -p "<filepath>" -args "<arguments>"
-p
and -args
are aliases for --path
and --arguments
EXAMPLES
The below example is for scss
or sass
file
python -m filewatch -p "./index.scss" -args "sass ./index.scss ./index.css"
📃License📃
This project is developed under MIT license