ionic-team / ionic-team/ionic-cli

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

Open
#3,072 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.