Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated documentation

  • Loading branch information...
commit 8aeb5befa6ad892a49c22b427d56d293d0e915bb 1 parent 28a8834
Matt Dean authored committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 
2 
@@ -61,6 +61,7 @@ Barista lets you hook into the compilation at several stages. Namely:
* before compilation
* after compilation
* after compilation fails
+* after compilation complete
To hook into these hooks, you can use like so:
@@ -68,6 +69,7 @@ To hook into these hooks, you can use like so:
* `Barista.on_compilation { |path| puts "Barista: Successfully compiled #{path}" }`
* `Barista.on_compilation_with_warning { |path, output| puts "Barista: Compilation of #{path} had a warning:\n#{output}" }`
* `Barista.on_compilation_error { |path, output| puts "Barista: Compilation of #{path} failed with:\n#{output}" }`
+* `Barista.on_compilation_complete { puts "Barista: Successfully compiled all files" }`
These allow you to do things such as notify on compilation, automatically
Please sign in to comment.
Something went wrong with that request. Please try again.