Expand dir before passing it to Listen
This allows Listen to listen to changes properly. It also requires an if dir
conditional because File.expand_path blows up if dir is nil.
-
Add test
This allows Listen to listen to changes properly. It also requires an if dir
conditional because File.expand_path blows up if dir is nil.