https://github.com/keitheis/p2
Simply repeat the command when watched files changed on spot.
https://github.com/keitheis/p2
Last synced: over 1 year ago
JSON representation
Simply repeat the command when watched files changed on spot.
- Host: GitHub
- URL: https://github.com/keitheis/p2
- Owner: keitheis
- Created: 2018-05-01T05:04:41.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-01T06:05:05.000Z (about 8 years ago)
- Last Synced: 2025-02-15T19:11:53.498Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
p2: Rerun command when given filed changed
==========================================
.. image:: http://img.shields.io/pypi/v/p2.svg?style=flat
:target: https://pypi.org/project/p2/
.. code-block:: sh
% p2 'make' *.plim static/*.scss
Player Two is watching about 6 files:
(' base.plim content.plim index.plim oldcontent.plim oldindex.plim '
'static/index.scss')
FIGHT!
make
python -mscss < static/index.scss > static/index.css
plimc -H -o index.html index.plim
CONTINUE?
content.plim changed
FIGHT!
make
python -mscss < static/index.scss > static/index.css
plimc -H -o index.html index.plim
CONTINUE?
^CGAMEOVER
Installation
------------
.. code-block::
pip install p2