Skip to content

Support watch mode when running esbuild via jsΒ #112

@oddnugget

Description

@oddnugget

Currently, watch: true on this plugin states that it needs build({wach: true}) however watch: true is not an option when using the js api. instead one must do:

  esbuild
    .context(opts)
    .then((ctx) => {
      ctx.watch();
    })

however when doing it this way the plugin complains that watch is not true

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