wait-run

1.2.0 • Public • Published

wait-run

version license installs

Wait for a file or directory to change or appear, then run a command once. The watched file or directory does not have to exist yet.

Heavily based on the wonderful watch-run by @queckezz.

Simply need to wait for a file/directory? Use just-wait by @Download which is a fork of wait-run. It allows you to chain && commands.

Installation

npm install -g wait-run

Usage

wait-run --pattern '*.*' -- say hello    # waits for any change in cwd then runs once. 

License

BSD 3-Clause license. Copyright © 2016, Rick Wong. All rights reserved.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.0
    2
  • 1.1.0
    1
  • 1.0.1
    0
  • 1.0.0
    1

Package Sidebar

Install

npm i wait-run

Weekly Downloads

3

Version

1.2.0

License

BSD-3-Clause

Last publish

Collaborators

  • rickwong