wdwh 1.6.7 → 1.6.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/main.ts +5 -4
  2. package/package.json +1 -1
package/dist/main.ts CHANGED
@@ -40,11 +40,12 @@ let currentText = await bunfigFile.text()
40
40
  if (!currentText.includes(`bun-plugin-tailwind`)) {
41
41
  currentText += `${currentText === `` ? `` : `\n`}${bunfigText}`
42
42
  bunfigFile.write(currentText)
43
- await Bun.spawn({
43
+ Bun.spawnSync({
44
44
  cmd: [`wdwh`, `dev`],
45
45
  stdout: `inherit`,
46
46
  stderr: `inherit`,
47
- }).exited
47
+ })
48
+ return
48
49
  }
49
50
  } else {
50
51
  bunfigFile.write(bunfigText)
@@ -56,11 +57,11 @@ if (await bunfigFile.exists()) await bunfigFile.delete()
56
57
  }
57
58
  process.on(`SIGINT`, deleteBunfig)
58
59
  setTimeout(deleteBunfig, 200)
59
- await Bun.spawn({
60
+ Bun.spawnSync({
60
61
  cmd: [`wdwh`, `dev`],
61
62
  stdout: `inherit`,
62
63
  stderr: `inherit`,
63
- }).exited
64
+ })
64
65
  return
65
66
  }
66
67
  await import(`../../.cache/wdwh/server.ts`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wdwh",
3
- "version": "1.6.7",
3
+ "version": "1.6.8",
4
4
  "author": "kubashh",
5
5
  "description": "The Bun framework. Easyer web dev without html",
6
6
  "license": "MIT",