Still.Watcher (Still v0.8.0) View Source

File system watcher that triggers compilation for new files, recompilation for changed files and kills and Still.Compiler.Incremental.Node for removed files. Should only be used in the dev environment.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the file system watcher and the compiler traversal via Still.Compiler.Traverse.

Handles file events, triggering compilation for new files, recompilation for modifications and removal of Still.Compiler.Incremental.Node for deletions.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

handle_continue(atom, state)

View Source

Starts the file system watcher and the compiler traversal via Still.Compiler.Traverse.

Handles file events, triggering compilation for new files, recompilation for modifications and removal of Still.Compiler.Incremental.Node for deletions.