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.timestamp_for(file : String) #

Get file timestamp using File.stat


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

Allow to watch file changes using Watcher.watch


[View source]