I've recently converted all my libs to be buildables.
It's helping for the build but I don't think I've noticed any difference when doing nx serve my-app --with-deps
We've got quite a huge number of libs and I'd expect some perf improvement by doing that but I don't feel like that the case. Maybe it's just me or the fact that part of our app is still in the main app.
Can anyone confirm that --with-deps should help when used with nx serve?
Thanks
Currently, serve does not really use buildable library computation. It still pulls from source.
There's an example of how this _can_ be done here:
https://github.com/nrwl/nx-incremental/blob/master/tools/scripts/watch.js
https://github.com/nrwl/nx-incremental/blob/master/apps/ngapp/tsconfig.app.json
We're still working on how we can make this a generic solution.
@FrozenPandaz any progress? I hope we can run nx serve app --with-deps soon 馃檹
Most helpful comment
Currently,
servedoes not really use buildable library computation. It still pulls from source.There's an example of how this _can_ be done here:
https://github.com/nrwl/nx-incremental/blob/master/tools/scripts/watch.js
https://github.com/nrwl/nx-incremental/blob/master/apps/ngapp/tsconfig.app.json
We're still working on how we can make this a generic solution.