diff --git a/extensions/markdown-language-features/esbuild-notebook.js b/extensions/markdown-language-features/esbuild-notebook.js index 202e4677042..bd5a325438d 100644 --- a/extensions/markdown-language-features/esbuild-notebook.js +++ b/extensions/markdown-language-features/esbuild-notebook.js @@ -28,5 +28,6 @@ esbuild.build({ outdir: outDir, platform: 'browser', target: ['es2020'], + watch: isWatch, incremental: isWatch, }).catch(() => process.exit(1)); diff --git a/extensions/markdown-language-features/esbuild-preview.js b/extensions/markdown-language-features/esbuild-preview.js index 692e45c9252..727353c6e44 100644 --- a/extensions/markdown-language-features/esbuild-preview.js +++ b/extensions/markdown-language-features/esbuild-preview.js @@ -29,5 +29,6 @@ esbuild.build({ outdir: outDir, platform: 'browser', target: ['es2020'], + watch: isWatch, incremental: isWatch, }).catch(() => process.exit(1)); diff --git a/extensions/markdown-math/esbuild.js b/extensions/markdown-math/esbuild.js index ab5ee7b75c3..dd94d2e1eed 100644 --- a/extensions/markdown-math/esbuild.js +++ b/extensions/markdown-math/esbuild.js @@ -30,6 +30,7 @@ esbuild.build({ outdir: outDir, platform: 'browser', target: ['es2020'], + watch: isWatch, incremental: isWatch, }).catch(() => process.exit(1)); diff --git a/extensions/notebook-renderers/esbuild.js b/extensions/notebook-renderers/esbuild.js index 5b54e668b3b..11a04a0a982 100644 --- a/extensions/notebook-renderers/esbuild.js +++ b/extensions/notebook-renderers/esbuild.js @@ -28,5 +28,6 @@ esbuild.build({ outdir: outDir, platform: 'browser', target: ['es2020'], + watch: isWatch, incremental: isWatch, }).catch(() => process.exit(1)); diff --git a/extensions/simple-browser/esbuild-preview.js b/extensions/simple-browser/esbuild-preview.js index cf278788b9b..d6447532501 100644 --- a/extensions/simple-browser/esbuild-preview.js +++ b/extensions/simple-browser/esbuild-preview.js @@ -37,5 +37,6 @@ esbuild.build({ outdir: outDir, platform: 'browser', target: ['es2020'], + watch: isWatch, incremental: isWatch, }).catch(() => process.exit(1));