class
Runcobo::Tasks::Watcher
- Runcobo::Tasks::Watcher
- Reference
- Object
Overview
Detects changed files by comparing modification times between scans. Polling needs only the standard library and works the same on every platform.
Defined in:
tasks/watcher.crConstant Summary
-
CONFIGS =
["runcobo.yml", "sqlc.yaml"] of ::String -
SOURCES =
["src/**/*.cr", "src/**/*.jbuilder", "src/**/*.water", "shard.lock"] of ::String
Constructors
Instance Method Summary
-
#changes : Array(String)
Files added, modified or removed since the previous call, relative to the root.
- #scan : Hash(String, Time)
Constructor Detail
Instance Method Detail
def changes : Array(String)
#
Files added, modified or removed since the previous call, relative to the root.