added transform options for watcher
changed the way to log
improved spec