Is there a way to catch esbuild's build error and run a script? I'm using it with npm, VSCode, and vanilla JS.
I can't find any documentation about it.
Is there a way to catch esbuild's build error and run a script? I'm using it with npm, VSCode, and vanilla JS.
I can't find any documentation about it.
esbuild uses promises, so you can catch errors as usual