lib/lookbook/file_watcher.rb in lookbook-1.3.4 vs lib/lookbook/file_watcher.rb in lookbook-1.4.0
- old
+ new
@@ -6,10 +6,10 @@
@force_polling = force_polling
@listeners = []
end
def watch(paths, extensions = ".*", opts = nil, &block)
- paths = PathUtils.normalize_all(paths)
+ paths = PathUtils.normalize_paths(paths)
if paths.any?
opts = opts.to_h
opts[:only] = /\.(#{Array(extensions).join("|")})$/