If you end up with browser-resolve 1.7.0 as a dependency of browserify, builds can fail with:
Error: Attempting to watch missing directory
Downgrading browser-resolve to 1.6.0 fixes the problem.
It appears that pkg.__dirname from the 'package' event is no longer always really a directory, sometimes it's a filename (minus its extension). I think we can workaround.
If you end up with browser-resolve 1.7.0 as a dependency of browserify, builds can fail with:
Downgrading browser-resolve to 1.6.0 fixes the problem.
It appears that
pkg.__dirname
from the'package'
event is no longer always really a directory, sometimes it's a filename (minus its extension). I think we can workaround.