ef4 / ember-browserify

ember-cli addon for easily loading CommonJS packages from npm via browserify.
MIT License
172 stars 28 forks source link

browser-resolve 1.7.0 breaks builds #20

Closed ef4 closed 9 years ago

ef4 commented 9 years ago

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.