trekhleb / angular-library-seed

🌾 Seed project for Angular libraries that are AOT/JIT compatible and that use external SCSS-styles and HTML-templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack only watching the first time

aminechir opened this issue · comments

Hi,

First i would like to THANK YOU for this project because all the other I founded are old, obsolete, not-working ...

I have a problem when I use a link (with npm link) of my library app in my consumer app (angular cli basic app). The first time I make a change in the library, which is builded in watch mode, my consumer app is automatically recompiled.

But when i make a new change in library, my consumer app is no more recompiling again ? Why ???

As suggested in your tuto: i have to consoles:

. one for the library app running with npm run build:watch

. one for the consumer app running with ng serve --aot