add makePromise helper.
copy globwatch from plz.
make globwatch use FileWatcher.