Skip to content

Serve from a defined directory #128

Open
@fskreuz

Description

@fskreuz

I'm debugging a library that can either be used on a browser or on Node. However, there's a few problems:

  • gobble serve builds and serves files in .gobble on localhost:4567. However, due to the variable directory structure, it's not easy for node scripts to consume that built library.

  • gobble watch out watches files and builds to an out directory. This option is easier for node, as the directory is in a predictable path. However, the files aren't served by a server for the browser.

Separately, they're fine. But it's quite annoying to stop the gobble serve and run gobble watch for node, and vice versa to check if the library works fine on both environments. Is it possible to merge functionality? Like a command that builds to a predictable directory and serve from that directory?

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