ionic-team / ionic-team/ionic-cli

after changing ionic.config.json the file is not refreshed

未关闭
#3,072 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

**Description:**

after using ionic serve the ionic.config.json is not being refreshed. I have set these values in the file
{
"name": "MyIonicProject",
"app_id": "",
"type": "ionic-angular",
"integrations": {
"cordova": {}
},
"proxies": [{
"path": "/data/",
"proxyUrl": "http://localhost/data/"
},{
"path": "/login/",
"proxyUrl": "http://api.fcmsoft.com/account/"
}]
}

but /login/ is not being changed it keeps remembering the old path in the proxyUrl.

**My `ionic info`:**

```
cli packages: (C:\Users\themhz\AppData\Roaming\npm\node_modules)

@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : not installed

local packages:

@ionic/app-scripts : 3.1.8
Cordova Platforms : ios 4.5.4
Ionic Framework : ionic-angular 3.9.2

System:

Node : v8.9.1
npm : 6.0.0-next.0
OS : Windows 10

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro
```

**Other Information:**

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。