@serenity-is/tsbuild 8.0.0 → 8.0.1

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 +1 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -125,7 +125,7 @@ export const esbuildOptions = (opt) => {
125
125
  }
126
126
 
127
127
  export const build = async (opt) => {
128
- var opt = esbuildOptions(opt);
128
+ opt = esbuildOptions(opt);
129
129
 
130
130
  if (opt.watch) {
131
131
  // this somehow resolves the issue that when debugging is stopped
@@ -136,9 +136,7 @@ export const build = async (opt) => {
136
136
 
137
137
  delete opt.watch;
138
138
  const context = await esbuild.context(opt);
139
- await context.rebuild()
140
139
  await context.watch();
141
- context.dispose();
142
140
  }
143
141
  else {
144
142
  delete opt.watch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serenity-is/tsbuild",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
4
4
  "author": "Serenity (https://serenity.is)",
5
5
  "bugs": "https://github.com/serenity-is/serenity/issues",
6
6
  "description": "Serenity ESBuild functions",