'build watch is it functional for library multi modules for Angular > 12

We've an application that use our library (external not in monorepo mode) that is implemented into multi modules. Since angular 12, the build watch doesn't work, the app is right updated but the code in vendor files is not updated.

After investigation, the build number stamped by --watch is only stamped the first time we launch the build but isn't updated with the HMR

I know there was an issue solved by this ticket https://github.com/angular/angular-cli/issues/20962 but the version is not updated in my multi modules case

Anyone has a library in multi module that works in angular 12 or 13

kr,

Ulric



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source