Nana keeps an eye on a directory and reacts when anything changes
Project description
Nana keeps an eye on a directory and reacts when anything changes.
Quickstart
You need Python 3.5 or better to install Nana.
Install nana from PyPI:
$ pip install nana
Tell Nana where to watch and what to do:
# Rebuild Sphinx docs on every change in the "docs" directory: $ nana "sphinx-build -a docs/ docs/_build/html" -d docs ^. . ^
The --directory param is optional, by default Nana monitors the current directory:
# Print "Updated!" on every change in the current directory: $ nana "echo Updated!"
To quit, press Ctrl+C:
--- Ruff-Ruff! ---
Contribute
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nana-1.0.1.tar.gz
(2.2 kB
view hashes)
Built Distributions
nana-1.0.1.win-amd64.exe
(180.3 kB
view hashes)
nana-1.0.1-py3-none-any.whl
(4.1 kB
view hashes)