lib/fontcustom/watcher.rb in fontcustom-0.0.2 vs lib/fontcustom/watcher.rb in fontcustom-0.1.0
- old
+ new
@@ -15,9 +15,10 @@
dir = args.first
@listener = Listen.to(dir).filter(/\.(eps|svg)$/).change(&callback)
begin
puts "Fontcustom is watching your icons at " + dir
+ Fontcustom.compile(*args)
@listener.start()
# Catches Cmd/Ctrl + C
# Does listen gem have a better way of handling this?
rescue SignalException