update watcher for macosx (not perfect, but works)