This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Reload command on file changed

Project Description
=========
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>`
Release History

Release History

This version
History Node

0.9.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
reloadcmd-0.9.0-py2.7.egg (7.7 kB) Copy SHA256 Checksum SHA256 2.7 Egg Jan 16, 2016
reloadcmd-0.9.0-py2.py3-none-any.whl (5.9 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jan 16, 2016
reloadcmd-0.9.0.tar.gz (2.5 kB) Copy SHA256 Checksum SHA256 Source Jan 16, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting