cortex v0.6.0 Cortex.Controller.Stage behaviour View Source
Behaviour for stages that run when files change.
Link to this section Summary
Callbacks
Returns a boolean for whether or not an error should cancel the rest of the pipeline.
Invoked any time a file is changed by the file watcher.
Run this stage on all possible files
Link to this section Types
The type of the results to all stage commands
Link to this section Callbacks
Returns a boolean for whether or not an error should cancel the rest of the pipeline.
Invoked any time a file is changed by the file watcher.
The first argument is the type of the file (:lib
, :test
, or :unknown
),
and the second is the path of the file.
Run this stage on all possible files