Skip to content

Commit

Permalink
feat: 去除动态安装时的弹窗
Browse files Browse the repository at this point in the history
- 弹窗原来是为了可以看到安装进度, 但是在安装次数过多时会造成过打扰
  • Loading branch information
wll8 committed Aug 12, 2021
1 parent 549d92b commit c2b3b6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/dev/todo.md
Expand Up @@ -4,7 +4,7 @@
- [ ] doc: 如何更新 replayPort 返回的数据?
- 如果代理服务是 9000, 使用同样的参数再请求一下 9000 端口即可, 因为重放时的数据默认会从最新的请求记录中获取
## 功能
- [ ] feat: 去除动态安装时的弹窗
- [x] feat: 去除动态安装时的弹窗
- 弹窗原来是为了可以看到安装进度, 但是在安装次数过多时会造成过打扰
- [ ] feat: 支持在后端服务关闭时可以以文档形式浏览 openApi
- [ ] feat: config.clearHistory 支持字符串 `all` 表示清除(清空 request, httpHistory.json)
Expand Down
2 changes: 1 addition & 1 deletion server/util/tool.js
Expand Up @@ -197,7 +197,7 @@ function tool() { // 与业务没有相关性, 可以脱离业务使用的工具
await cli().spawn(
`npx`, cmd.split(/\s+/),
{
detached: true,
detached: false, // 为 true 时拥有自己的窗口, 父进程退出后继续运行
cwd,
env: {
NPM_CONFIG_REGISTRY: MOCKM_REGISTRY,
Expand Down

0 comments on commit c2b3b6d

Please sign in to comment.