Closed ErickXavier closed 3 years ago
I will have a look at that meanwhile a quick work around should be to use -v switch, where instead of parsing output a direct ng -compiler output is displayed.
@ErickXavier pls. update to v1.2.2. The issue should be resolved. However I did not test it on ANG 12. I tested it on my ANG 11 projects.
@ErickXavier pls. update to v1.2.2. The issue should be resolved. However I did not test it on ANG 12. I tested it on my ANG 11 projects.
Thanks! Done it and testing now.
So, I tested it but it won't report some errors.
Like when I run this line:
watch-ng-libraries serve myproject -l @modules/mod1,@modules/mod2,@modules/mod3 -d ./
The terminal gets stuck like this:
[11:05:32 AM] @modules/mod1: Working...
[11:05:29 AM] @modules/mod2 Pending...
[11:05:29 AM] @modules/mod3 Pending...
[11:05:29 AM] myproject Pending...
But if I run the command ng build @modules/mod1 --watch
, the error bellow is shown:
$ ng build @modules/mod1 --watch
Building Angular Package
------------------------------------------------------------------------------
Building entry point '@modules/mod1'
------------------------------------------------------------------------------
✖ Compiling with Angular sources in Ivy full compilation mode.
ERROR: Can't find stylesheet to import.
╷
1 │ @use 'includes/scrollbar';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
projects\modules\mod1\src\lib\components\tree-diagram\tree-diagram.component.scss 1:1 root stylesheet
Compilation failed. Watching for file changes...
Hi, I'm having an error when the watch-ng-libraries tries to report an error. It's showing this, instead:
Environment: