A watch plugin for the Python task manager doit
Project description
doit_watch
A watch plugin for the Python task manager doit.
How to use
Run doit watch
, or doit watch <TASK>
, to run the tasks once if
necessary, and then run them again when any of the input files change.
$ doit watch
. MyTask
-> Watching 324 files for changes...
How to install
To install, add the following to your config files:
# requirements.txt
doit-watch>=0.1.0
# pyproject.toml (if using)
[tool.doit.plugins.command]
watch = "doit_watch:Watch"
# doit.cfg (if using)
[COMMAND]
watch = "doit_watch:Watch"
Credits
I didn't write this plugin myself. I took the source code of the doit-auto1 plugin, and combined the PR of @bollwyvl and the PR of @jguillon into a new package, with the name that we all agree the command should have.
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
doit_watch-0.1.0.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for doit_watch-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 934f0a53106cfb4f79a196517207f276e56853613b9fc16d5e5da2502a1083de |
|
MD5 | a81f9ebb8302218a8bc241639369a378 |
|
BLAKE2b-256 | 7dc7ccdec366ae2ea729b381d3566c33e4ee6b85a52eb315196edb5e544960b5 |