Closed jadjoubran closed 6 years ago
This is now available for testing 🎉
if anyone's interested in testing it, please run the following and let me know if it works for you or not:
npm install -g webdash@next
#run webdash serve in your project:
webdash serve
npm install --save-dev webdash@next
npx webdash serve
@jadjoubran What about the plugins, do we have to install them locally in our project and maintain the config file there?
the config file should always be in the project.. I don't think it'll ever be possible to move it outside as all the values will change from 1 project to another (for example manifestPath
will be different from project to another)
For the plugins, for now yes they have to be installed locally.. does it make sense to allow them to work globally? Especially that they differ from project to project & if we look at other tools (like grunt & webpack) I think they require you to have the plugins installed locally
Makes sense! 😄
it seems this is broken because is-global
is returning true when webdash is installed with npm install webdash --save-dev
which is breaking the paths
Will be available in 1.4 instead
Due to the nature of this feature, it must be tested with an npm prerelease:
available in version: v1.4.0-2
npm install --save-dev webdash@next
npx webdash serve
npm install -g webdash@next
webdash serve
Behavior right now:
app-root is returning the global node modules path, where it should look for where it's being run from