ionic-team / ionic-team/ionic-cli

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

Đang mở
#3,072 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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:**

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.