@serenity-is/tsbuild 6.2.6 → 6.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -73,13 +73,13 @@ export const esbuildOptions = (opt) => {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export const build = async (opt) => {
|
|
76
|
+
var opt = esbuildOptions(opt);
|
|
77
|
+
|
|
76
78
|
if (opt.watch) {
|
|
79
|
+
// this somehow resolves the issue that when debugging is stopped
|
|
80
|
+
// in Visual Studio, the node process stays alive
|
|
77
81
|
setInterval(() => {
|
|
78
|
-
|
|
79
|
-
process.kill(process.ppid, 0);
|
|
80
|
-
}
|
|
81
|
-
catch (e) {
|
|
82
|
-
}
|
|
82
|
+
process.stdout.write("");
|
|
83
83
|
}, 5000);
|
|
84
84
|
}
|
|
85
85
|
|