Created
November 13, 2015 08:00
-
-
Save stereosupersonic/3a9a9a60366f785d876e to your computer and use it in GitHub Desktop.
This file contains 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
require 'listen' #https://github.com/guard/listen | |
dir = "/Users/michaeldeimel/entwicklung/freeletics/core-user-rails" | |
listener = Listen.to(dir) do |modified, added, removed| | |
puts "modified absolute path: #{modified}" | |
puts "added absolute path: #{added}" | |
puts "removed absolute path: #{removed}" | |
end | |
listener.start # not blocking | |
sleep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment