Socket
Socket
Sign inDemoInstall

when-changed

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    when-changed

Make when-changed cross-platform


Maintainers
1

Readme

                              when-changed

                  Run a command when a file is changed


~ What is it?

  Tired of switching to the shell to test the changes you just made to
  your code? Starting to feel like a mindless drone, manually running
  pdflatex for the 30th time to see how your resume now looks?

  Worry not, when-changed is here to help! Whenever it sees that you have
  changed the file, when-changed runs any command you specify.

  So to generate your latex resume automatically, you can do this:

  $ when-changed CV.tex pdflatex CV.tex

  Sweetness!


~ What do I need?

  Python 2.6+
  watchdog


~ Installation

  pip install https://github.com/joh/when-changed/archive/master.zip


~ Usage

  when-changed FILE COMMAND...
  when-changed FILE [FILE ...] -c COMMAND

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc