Registry / utility / file-monitor

file-monitor

JSON →
library0.1.5rbrubygemsunverified

Ruby File Monitor provides an easy way to watch directories and files and execute commands when they change.

gem install file-monitor
INSTALL
IMPORT
SIG · FILE-MONITOR
F
file-monitor
utilityrubyv0.1.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FileMonitor
require 'file-monitor'

Watch a directory and react to file changes.

require 'file-monitor' monitor = FileMonitor.new('/path/to/watch') monitor.on_change { |file| puts "#{file} changed" } monitor.start
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources