Skip to content
This repository was archived by the owner on Mar 26, 2018. It is now read-only.

Conversation

yohannist
Copy link

Before:

  • All the packages installed via bower were not automatically inserted into index.html. The reason is wiredep is not properly configured with the proper path to bower_components.

  • In addition, the server middleware was also not configured to use bower_components so even if users add the script tags to packages in bower_components manually, the server would return 404 not found to the browser requests.

  • A final problem addressed in this pull request is that the watch task was not monitoring index.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 no css and no js libraries.

After:
• Fixed wiredep directory to proper location (outside of the app folder)
• Started watching index.html (via paths.views.main)
• Added bower_component as a resource for the server middleware

@ahakeem
Copy link

ahakeem commented Sep 19, 2017

no

@yohannist
Copy link
Author

yohannist commented Sep 19, 2017 via email

@ahakeem
Copy link

ahakeem commented Sep 23, 2017

thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants