module Watcher

Defined in:

watcher.cr
watcher/version.cr

Constant Summary

TIMESTAMPS = {} of String => String
VERSION = "0.1.0"

Class Method Summary

Class Method Detail

def self.interval=(value : Int32) #

Allow to change file scan time interval


[View source]
def self.timestamp_for(file : String) #

Get file timestamp using File.stat


[View source]
def self.watch(files, &) #

Allow to watch file changes using Watcher.watch


[View source]