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

Some improvements to gulp webserver #3514

Merged
merged 2 commits into from Jun 9, 2016

Conversation

lannka
Copy link
Contributor

@lannka lannka commented Jun 9, 2016

  • Upgrade gulp server from "connect" to "express", so that we could leverage some nice features of "express" to simply some code.
  • Also, with "express", we could remove the hard coded "http" in middleware, which then can be used in HTTPS mode seamlessly .
  • For better debugging, added "morgan" express server logger.

Related to #3499

…erage some nice features of "express" to simply some code.

Also, with "express", we could remove the hard coded "http" in middleware, which then can be used in HTTPS mode seamlessly .

For better debugging, added "morgan" express server logger.
@@ -80,6 +80,7 @@
"minimatch": "3.0.0",
"minimist": "1.2.0",
"mocha": "2.5.3",
"morgan": "^1.7.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove ^

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@erwinmombay
Copy link
Member

1 nit, LGTM

@erwinmombay erwinmombay merged commit 9162e65 into ampproject:master Jun 9, 2016
@lannka lannka deleted the better_gulp_server_2 branch June 9, 2016 22:30
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.

None yet

2 participants