Skip to content

Watch mode without webpack's dev server #1248

@oliverstr

Description

@oliverstr

Do you want to request a feature or report a bug?
Feature

What is the current behaviour?
When developing a custom server for SSR, the process of building the ssr-bundle is a very bad experience.
The build command can take a long time and there's no watch mode, meaning every time there's a code change the developer needs to kill the server, build the entire application, and run the server again.

If the current behaviour is a bug, please provide the steps to reproduce.

What is the expected behaviour?
build command could have a watch mode option

If this is a feature request, what is motivation or use case for changing the behaviour?
This would greatly benefit developers that have custom servers and want a hot reload option.

Please mention other relevant information.
I can create a PR for this.

Please paste the results of preact info here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions