Skip to content

Add support to a production mode development server #944

@Marlysson

Description

@Marlysson

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions