You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, running @nrwl/web:file-server does not expose a few useful options of the underlying http-server:
cache time (-c)
gzip compression (-g)
brotli compression (-b)
Motivation
When doing live reloading, etc. these options probably don't make much sense. But there are some use cases where they could. One example, we want to build the app in CI, and then spin up a quick server to host a production-like application for testing. Exposing those options with reasonable defaults would be useful in that scenario.
Suggested Implementation
Alternate Implementations
The text was updated successfully, but these errors were encountered:
rpd10
changed the title
nrwl/web:file-server should expose additional options for http-server
@nrwl/web:file-server should expose additional options for http-server
Feb 5, 2023
rpd10
added a commit
to rpd10/nx
that referenced
this issue
Feb 6, 2023
Description
Today, running @nrwl/web:file-server does not expose a few useful options of the underlying http-server:
Motivation
When doing live reloading, etc. these options probably don't make much sense. But there are some use cases where they could. One example, we want to build the app in CI, and then spin up a quick server to host a production-like application for testing. Exposing those options with reasonable defaults would be useful in that scenario.
Suggested Implementation
Alternate Implementations
The text was updated successfully, but these errors were encountered: