wildpig 1.5.2 → 1.5.3

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/bin/cli.ts +1 -1
  2. package/package.json +1 -1
package/bin/cli.ts CHANGED
@@ -35,7 +35,7 @@ if(command === "dev"){
35
35
  // 监测是否有node_modules/wildpig
36
36
  const wildpigExist = fs.existsSync("./node_modules/wildpig");
37
37
  const serverPath = wildpigExist ? "./node_modules/wildpig/scripts/devServer.ts" : "./scripts/devServer.ts";
38
- spawn(["bun", "run", "--hot", serverPath], {
38
+ spawn(["bun", "run", "--watch", serverPath], {
39
39
  cwd: ".",
40
40
  stdout: "inherit",
41
41
  env: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wildpig",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "author": "eriktse",
5
5
  "type": "module",
6
6
  "bin": {