Skip to main content

Rerun command by watching modified file

Project description

http://img.shields.io/pypi/v/p2.svg?style=flat
% 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

pip install p2

Project details


Download files

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

Source Distribution

p2-1.0.1.tar.gz (2.9 kB view hashes)

Uploaded source

Built Distribution

p2-1.0.1-py3-none-any.whl (3.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page