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

watchr

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

watchr

Node.js watching library, as all the other ones suck.

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23K
increased by6.56%
Maintainers
1
Weekly downloads
 
Created
Source

Watchr. Node.js file watching that doesn't suck.

Watchr is simple, you call require('watchr').watch(path,function(){console.log('something changed inside the directory')})

To install npm install watchr

It works with node.js 0.4, 0.5 and 0.6. It will use fs.watchFile if available, otherwise it will use fs.watch (e.g. windows support).

The fs.watch functionality is currently quite buggy - node.js returns segmentation faults here and there, but that is due to bugs in node.js. Sigh. Anyway, Enjoy.

License

Licensed under the MIT License Copyright 2011 Benjamin Arthur Lupton

Keywords

FAQs

Package last updated on 13 Nov 2011

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