Skip to content

CLI - express injection #574

@tomasklapka

Description

@tomasklapka

I would like to run another express middleware with the solid server while not losing the CLI and its processing of args and config.json. It means I need to mount the middleware before solid mounts to it's mount path.

There is an optional argument to inject express in function createServer (argv, app) but it is not used in CLI.

I'm thinking about refactoring the CLI part to be a reusable module with possibility to inject both solid and express.

Do you have another suggestion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions