Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only try requiring http2 if preferHttp1 is false #250

Merged
merged 1 commit into from
Feb 22, 2018

Conversation

nickpape
Copy link
Contributor

I neglected to change this in my previous PR, but noticed this when upgrading. Essentially, if you are using Node 8 or 9 and you are using preferHttp1=true, then gulp-connect is still trying to load the experimental http2 library. This means you get an annoying warning like:

image

Therefore, we should only load the http2 library if preferHttp1 is set to false.

@avevlad

@avevlad avevlad merged commit 13db10c into avevlad:master Feb 22, 2018
@avevlad
Copy link
Owner

avevlad commented Feb 22, 2018

@nickpape-msft gulp-connect@5.5.0, thanks!

@nickpape
Copy link
Contributor Author

Thanks again @avevlad !

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.

3 participants