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

fix 404 errors on bower_components with Gulp on Windows #1316

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aledelgo
Copy link

fix(app): fix 404 errors on bower_components with Gulp on Windows

With Gulp, the serve command don't expose symlink (or virtual dir) to bower_components on windows, so http://localhost:9000/bower_components/any_component/aa.js return a 404 error

This fix make "bower_component" a virutal dir for static file via "st" module as middleware for "connect" module.
Now it works.

I have no test actually.

Alessandro Del Gobbo added 2 commits May 10, 2016 23:33
… on windows

With middleware of connect we solve it making "bower_component" a virutal dir for static file.
Now it works
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