@serenity-is/tsbuild 6.2.5 → 6.2.7

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -73,6 +73,14 @@ export const esbuildOptions = (opt) => {
73
73
  }
74
74
 
75
75
  export const build = async (opt) => {
76
+ if (opt.watch) {
77
+ // this somehow resolves the issue that when debugging is stopped
78
+ // in Visual Studio, the node process stays alive
79
+ setInterval(() => {
80
+ process.stdout.write("");
81
+ }, 5000);
82
+ }
83
+
76
84
  await esbuild.build(esbuildOptions(opt));
77
85
  };
78
86
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serenity-is/tsbuild",
3
- "version": "6.2.5",
3
+ "version": "6.2.7",
4
4
  "author": "Serenity (https://serenity.is)",
5
5
  "bugs": "https://github.com/serenity-is/serenity/issues",
6
6
  "description": "Serenity ESBuild functions",