Open mikolalysenko opened 10 years ago
Found out where the problem is -- there's actually two things going on:
watchify
in a node_modules dir anywhere up from their current working directory, it'll try to use it. If the workshopper is globally installed, and watchify is globally installed, this means it will try to use the globally installed watchify (since it's in a node_modules directory up from the file's location).+1
In beefy 2.0.1, running with watchify 0.10.2 doesn't work. For example, in glslify-workshopper I get the following message if I run with watchify installed:
I think it might be better long term to pin beefy to a specific version of watchify, rather than letting this float. Even though these projects are relatively well maintained it is possible for watchify/browserify to introduce breaking changes and locking to a specific version via semantic versioning seems like a better solution going forward.