Open yohannist opened 7 years ago
no
is the issue fixed?
On Tue, Sep 19, 2017 at 5:13 PM ahakeem notifications@github.com wrote:
no
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yeoman/generator-angular/pull/1408#issuecomment-330552647, or mute the thread https://github.com/notifications/unsubscribe-auth/AECguyoLY8BR3ZMV-6e-BuK_u9CyWT4Sks5sj8wKgaJpZM4N0PQP .
-- Regards,
Yohannes
thank you
Before:
All the packages installed via bower were not automatically inserted into
index.html
. The reason iswiredep
is not properly configured with the proper path tobower_components
.In addition, the server middleware was also not configured to use
bower_components
so even if users add the script tags to packages inbower_components
manually, the server would return404 not found
to the browser requests.A final problem addressed in this pull request is that the
watch
task was not monitoringindex.html
so the browser was not refreshing when that was changed.The consequence of these problems is when running
gulp serve
, the user is met with a page that has nocss
and nojs
libraries.After: • Fixed
wiredep
directory to proper location (outside of the app folder) • Started watchingindex.html
(via paths.views.main) • Added bower_component as a resource for the server middleware