diff --git a/esbuild/esbuild.js b/esbuild/esbuild.js index 3c5c305665..4804f0e25f 100644 --- a/esbuild/esbuild.js +++ b/esbuild/esbuild.js @@ -87,7 +87,10 @@ const NODE_PATHS = [].concat( execute() .then(() => RUN_BUILD_COMMAND && run_build_command_for_apps(APPS)) - .catch((e) => console.error(e)); + .catch((e) => { + console.error(e); + throw e; + }); if (WATCH_MODE) { // listen for open files in editor event