tinesoft / generator-ngx-library

Yeoman generator to bootstrap :rocket: your Angular library creation and publication.
https://github.com/tinesoft/generator-ngx-library#features
MIT License
92 stars 16 forks source link

Demo app UI not refreshing on gulp build:watch #149

Open edetec opened 6 years ago

edetec commented 6 years ago

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

OS and Version?

Fedora 27 x86_64

Generator Version

ngx-library@5.5.0

Tools Version

yo 2.0.0 node v8.9.4 npm 5.6.0

Targeted Angular version

Angular 5.2.0

Repro steps.

  1. running gulp build:watch-fast and gulp serve:demo simultaneously

  2. change lib UI

The log given by the failure.

The demo is rebuilt but do not have last changes of lib

Desired functionality.

The demo should have the last changes of lib

Mention any other details that might be useful.

https://github.com/ESSS/ng-xform

AnthonyNahas commented 6 years ago

can you try please instead of gulp:serve:demo ng serve in the demo directory ? workflow: In the first terminal run gulp build:watch_fast In the second terminal run cd demo && ng serve

?

edetec commented 6 years ago

When I took a look at the angular problems, I discovered that the "--aot" parameter has some problems and this is one of them, so I changed the "serve: demo" task and it works. Sorry for not reporting before.

Thanks.

tinesoft commented 6 years ago

@edetec: You mean you removed the --aot option? from gulp serve:demo task to have the problem solved?

Can you share the link to your discoveries on angular problems related to the --aot option?

Thanks in advance

edetec commented 6 years ago

of course, I think is that https://github.com/angular/angular-cli/issues/6347

tinesoft commented 6 years ago

ok thanks!

i'll keep an eye on it