Metadata-Version: 2.0
Name: reloadcmd
Version: 0.9.0
Summary: Reload command on file changed
Home-page: https://github.com/stroem/python-reloadcmd
Author: Jonathan Strom
Author-email: jonathan.strom@gmail.com
License: MIT License
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Terminals
Classifier: Topic :: Utilities

=========
reloadcmd
=========

Re-executes program when files are changed, moved or deleted

Usage
=====
usage: monitor [-h] [-d DEBUG] [-p PATH] [-e [FILE_EXT [FILE_EXT ...]]] -c
               COMMAND

Restarts process when any files / directory changes

optional arguments:
  -h, --help            show this help message and exit
  -d DEBUG, --debug DEBUG
                        Debug mode
  -p PATH, --path PATH  Which directory to watch for changes
  -e [FILE_EXT [FILE_EXT ...]], --extension [FILE_EXT [FILE_EXT ...]]
                        Which file extensions to listen for
  -c COMMAND, --command COMMAND
                        Command to be executed

``$ reloadcmd --command "while [ 1 -eq 1 ]; do echo 2; sleep 1; done"``

Dependencies
============
* `watchdog <https://pypi.python.org/pypi/watchdog>`
* `coloredlogs <https://pypi.python.org/pypi/coloredlogs>`


