nx-plugins icon indicating copy to clipboard operation
nx-plugins copied to clipboard

Support watch mode when running esbuild via js

Open oddnugget opened this issue 7 months ago • 1 comments

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

oddnugget avatar Jul 02 '24 14:07 oddnugget