nx-plugins
nx-plugins copied to clipboard
Support watch mode when running esbuild via js
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