core icon indicating copy to clipboard operation
core copied to clipboard

Add support to a production mode development server

Open Marlysson opened this issue 5 years ago • 1 comments

Is your feature request related to a problem? Please describe. When is developed a app that requires more requests per time, the current development server crashes and broke the app's workflow ( send and receive data )

What do we currently have to do now? Abstract serve command to use of some others servers as alternatives when the user ( developer ) choose under the hood. Transparent to developer

Describe the solution you'd like Run some command like:

Default server of local environment

craft serve

A robust server that runs a production like environment

craft serve --optimize

Or something that indicates that a other server will used.

Describe alternatives you've considered Use of waitress server by example.

  • [ ] Is this a breaking change?

Marlysson avatar Dec 25 '19 15:12 Marlysson

  • [ ] Add section about this in documentation

Marlysson avatar Jan 04 '20 03:01 Marlysson