Skip to content

Workers can't recover from no distPath. #97

@nathanhammond

Description

@nathanhammond

Workers are started just once:

this.middleware is only set here:

if (!this.distPath) {
this.middleware = this.noAppMiddleware();
} else {
this.middleware = this.buildMiddleware();
}

And then you're stuck with that middleware forever:

return this.httpServer.serve(this.middleware)

For bonus points, fastbootMiddleware here:

serve(fastbootMiddleware) {

...is therefore possibly not a FastBoot middleware which is a super troll since we expose httpServer as a downstream API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions