Skip to content

Conversation

jackp
Copy link

@jackp jackp commented Jul 16, 2014

Since the fallback file gets set after every directory is served, the request will never be able to hit any subsequent directories.

This PR sets the fallback files at the end of the stream, therefore allowing users to use

gulp.src(['web', 'tmp'])
.pipe(webserver({}))

Jack Parker added 2 commits July 15, 2014 22:36
If passing in multiple root directories, the
fallback file gets set after each directory is
served, therefore never reaching the additional
directories.
@jackp
Copy link
Author

jackp commented Jul 16, 2014

This feature is working fine for me, but I'm having trouble getting the test to pass

@schickling
Copy link
Owner

Thanks @jackp for your PR. Please fix the tests, I want to keep the CI env healthy 👍

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants