class Mint::Watcher

Overview

A class for detecting changes to a set of sepcific files (sepcifically *.mint, .env and mint.json).

Defined in:

utils/watcher.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(&listener : Proc(Array(String), Symbol, Nil)) #

[View source]

Instance Method Detail

def info(file : String) #

[View source]
def patterns=(patterns : Array(String)) #

[View source]
def scan(reason : Symbol) #

[View source]
def watch #

[View source]