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
{{ message }}
Repository navigation
Build with --watch flag does not work with a lib project #11100
Thanks, that worked. Now first time compilation works, but the diff compilation fails:
File change detected. Starting incremental compilation...
BUILD ERROR
no elements in sequence
EmptyError: no elements in sequence
at new EmptyError (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\util\EmptyError.js:16:28)
at C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\operators\last.js:11:294
at Object.complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\operators\throwIfEmpty.js:12:23)
at TapSubscriber._complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\operators\tap.js:76:31)
at TapSubscriber.Subscriber.complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\Subscriber.js:76:18)
at TakeLastSubscriber._complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\operators\takeLast.js:71:21)
at TakeLastSubscriber.Subscriber.complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\Subscriber.js:76:18)
at MergeMapSubscriber._complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\operators\mergeMap.js:80:30)
at MergeMapSubscriber.Subscriber.complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\Subscriber.js:76:18)
at FilterSubscriber.Subscriber._complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\Subscriber.js:94:26)
Compilation failed. Watching for file changes...
On Thu, 02 Aug 2018 at 14:02, Tomas Bezouska ***@***.***> wrote:
Thanks, that worked. Now first time compilation works, but the diff
compilation fails:
File change detected. Starting incremental compilation...
BUILD ERROR
no elements in sequence
EmptyError: no elements in sequence
at new EmptyError (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\util\EmptyError.js:16:28)
at C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\operators\last.js:11:294
at Object.complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\operators\throwIfEmpty.js:12:23)
at TapSubscriber._complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\operators\tap.js:76:31)
at TapSubscriber.Subscriber.complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\Subscriber.js:76:18)
at TakeLastSubscriber._complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\operators\takeLast.js:71:21)
at TakeLastSubscriber.Subscriber.complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\Subscriber.js:76:18)
at MergeMapSubscriber._complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\operators\mergeMap.js:80:30)
at MergeMapSubscriber.Subscriber.complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\Subscriber.js:76:18)
at FilterSubscriber.Subscriber._complete (C:\Users\**\projects\Nexus\WidgetMessaging\node_modules\rxjs\internal\Subscriber.js:94:26)
Compilation failed. Watching for file changes...
I guess tha'ts worth a separate issue
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11100 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQv-WgG0lBcWgK2CNHRQeZ55Fq1-AJNoks5uMupmgaJpZM4UYh58>
.
Although it's working for --watch now, it seems that no one of the other flags are working though, f.e. --output-path or --delete-output-path when using with a library. Im using Angular CLI 6.2.2. Can anyone else confirm this?
@arm1n I can confirm it for Angular CLI 7.0.4. Althought I didn't extensively check, it seems the only working flags are those few reported by the ng build --help command, not those described in documentation page: https://angular.io/cli/build
NOTE: I'm referring to a lib project
angular-automatic-lock-bot commented on Sep 8, 2019
Activity
elclanrs commentedon Jun 4, 2018
This is not supported yet. I'm eagerly awaiting for this PR to be merged in ng-packagr.
gabrielalan commentedon Jun 11, 2018
So they launch a new major version of the CLI breaking one of the commands? 😂
jrista commentedon Jul 25, 2018
Any idea on when this might be available? We are doing a lot of work with libs at the moment, no ability to watch is really rough...
alan-agius4 commentedon Jul 25, 2018
feat(@schematics/angular): add support for `watch` when building a li…
bezysoftware commentedon Aug 2, 2018
I installed the latest 6.2.0 beta.0, but am still unable to do
ng build --watchfor a library ("unknown switch"). Here's outcome ofng --version:Whats should I do?
alan-agius4 commentedon Aug 2, 2018
@bezysoftware you need to update all
@angular-devkit/<packages>to0.8.0-beta.0bezysoftware commentedon Aug 2, 2018
Thanks, that worked. Now first time compilation works, but the diff compilation fails:
I guess tha'ts worth a separate issue
alan-agius4 commentedon Aug 2, 2018
xino1010 commentedon Aug 3, 2018
Hi @bezysoftware @alan-agius4 !
How can I install the latest 6.2.0 beta.{0,1}?
Thanks
alan-agius4 commentedon Aug 3, 2018
You can use
GeorgeKnap commentedon Aug 24, 2018
Watch mode works for these versions :)
@angular-devkitat0.8.0-rc.0@angularat6.1.4ng-packagrat4.1.0sweet!
KoBe321 commentedon Sep 13, 2018
It's working for me with:
However, if I make any changes in the lib, it reloads the page twice.
arm1n commentedon Sep 17, 2018
Although it's working for
--watchnow, it seems that no one of the other flags are working though, f.e.--output-pathor--delete-output-pathwhen using with a library. Im using Angular CLI 6.2.2. Can anyone else confirm this?drizzt74 commentedon Nov 6, 2018
@arm1n I can confirm it for Angular CLI 7.0.4. Althought I didn't extensively check, it seems the only working flags are those few reported by the ng build --help command, not those described in documentation page: https://angular.io/cli/build
NOTE: I'm referring to a lib project
angular-automatic-lock-bot commentedon Sep 8, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
feat(@schematics/angular): add support for `watch` when building a li…