New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

watchhere

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

watchhere

execute command when the current folder'files has changed.

latest
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

watchhere

watch当前文件夹内的文件是否有变动,有变动则执行指定的命令

  • watchme -c "tap build" 该命里用就是监控当前文件夹,一旦发生变化,则执行-c参数的tap build命令
  • watchme -c "tap build" -i "/build,/publish" 这里多里一个-i的参数设置,就是为了执行命令的时候,当前文件夹本身内容又发生变化,导致循环一直执行,该参数就是过滤那些不用care的文件变化(注意:-i参数的内容如果有多个,使用英文逗号分割,这个是文件路径的特征。)

Keywords

watch

FAQs

Package last updated on 08 Jun 2014

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