Skip to content

Commit

Permalink
docs: front end watch
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaosansiji committed Jul 26, 2022
1 parent 46cf616 commit 28187bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion DEVELOP_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
cd packages/frontend
npm i
## 启动前端资源 watch 进程
npm run watch-front
npm run watch
```

访问 http://127.0.0.1:16001/api_design 查看修改效果
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@
"scripts": {
"lint": "eslint ./packages --max-warnings 0 --ext .ts,.tsx --fix",
"dev": "cross-env NODE_ENV=dev nodemon",
"watch-front": "rm -rf dist/* && tsc --w",
"build-front": "rm -rf dist/* && tsc",
"prod": "npm run build && npx pm2 start ecosystem.config.js --env production",
"reload": "npm run build && pm2 reload api-server --parallel 32 --update-env",
"api:download": "node packages/scripts/download.js",
Expand Down

0 comments on commit 28187bb

Please sign in to comment.