Created
July 9, 2014 18:36
-
-
Save HashNuke/4fc8eaaccb7ac65c2d21 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rotor.watch :all_files_in_project_root, ["*"], fn(changed, all)-> | |
IO.inspect "CHANGED FILES" | |
IO.inspect changed | |
IO.inspect "ALL FILES" | |
IO.inspect all | |
end | |
# Options can be passed as a 4th arg after the rotor function. | |
# Currently available option is `interval`. | |
# Default polling interval is 2500 (2.5 seconds). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment