You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whe working in an Angular workspace,
you have to run ng build [lib] --watch on all libraries and then ng build [app] --watch
to detect the changes and rebuild the application with the latest libraries changes.
Describe the solution you'd like
• A flag (--watchLibraries=opts?) to automatically build & watch libraries when running ng build [app] --watch
or
• An option in angular.json to make it dependent on the configuration.
opts=true|false|noFirstBuild:
true/false: activate / deactivate the functionnality.
noFirstBuild: to prevent having to compile lots of libraries each time you run the command, you can choose to only build them if they changed after the application has been built.
How to detect the libraries:
Using angular.json#projects.[project].projectType (= library)
Describe alternatives you've considered
npm scripts, but each time you add a library you need to add it in the scripts.
The text was updated successfully, but these errors were encountered:
🚀 Feature request
Command (mark with an
x
)Description
Whe working in an Angular workspace,
you have to run
ng build [lib] --watch
on all libraries and thenng build [app] --watch
to detect the changes and rebuild the application with the latest libraries changes.
Describe the solution you'd like
• A flag (
--watchLibraries=opts
?) to automatically build & watch libraries when runningng build [app] --watch
or
• An option in angular.json to make it dependent on the configuration.
opts=true|false|noFirstBuild
:true/false: activate / deactivate the functionnality.
noFirstBuild: to prevent having to compile lots of libraries each time you run the command, you can choose to only build them if they changed after the application has been built.
How to detect the libraries:
Using
angular.json#projects.[project].projectType
(= library)Describe alternatives you've considered
npm scripts, but each time you add a library you need to add it in the scripts.
The text was updated successfully, but these errors were encountered: