@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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. 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
- try {
79
- process.kill(process.ppid, 0);
80
- }
81
- catch (e) {
82
- }
82
+ process.stdout.write("");
83
83
  }, 5000);
84
84
  }
85
85
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serenity-is/tsbuild",
3
- "version": "6.2.6",
3
+ "version": "6.2.8",
4
4
  "author": "Serenity (https://serenity.is)",
5
5
  "bugs": "https://github.com/serenity-is/serenity/issues",
6
6
  "description": "Serenity ESBuild functions",