Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/thimc/watch

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/thimc/watch

  • v0.0.0-20241103170022-2f2995537b06
  • Source
  • Go
  • Socket score

Version published
Created
Source

Watch

Watch runs a command each time a set of files changes. Watch is a clone of the 9fans/go Watch tool but is made to work outside of Acme.

There are some differences between the 9fans/go Watch tool and this tool, instead of relying on the current working directory to find files to monitor, the user needs to specify (with globbing support) which files to specifically watch. Another difference is the notion of an unescaped % in the arguments list which is substituted with file path of the file that was changed.

Watch may not be as efficient as it could be (using syscalls) but is written so that it is as simple and cross-platform as possible.

Usage

watch '*.go' go run %

License

MIT

FAQs

Package last updated on 03 Nov 2024

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc