Socket
Book a DemoInstallSign in
Socket

git_on_change

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git_on_change

Little script to trigger a command only if some files of certain extensions have changed

latest
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

git_on_change

Little script to trigger a command only if some files of certain extensions have changed

Usage

$> npx git_on_change --help

Usage: git_on_change [options] [command]

Options:
  -V, --version                  output the version number
  -e, --extensions <extensions>  comma separated list of extensions
  -h, --help                     display help for command

Commands:
  run <cmd>
  help [command]                 display help for command

    Examples:

    $> git_on_change --extensions "JS"   run "echo Some JS files were changed"
    $> git_on_change --extensions "-JS"  run "echo No JS files were changed"

FAQs

Package last updated on 07 Dec 2020

Did you know?

Socket

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