Do you have Hydration enabled?
If so, disable it whenever you have a config change.
If not, please post your config, AND confirm that you have both index.html and config.xml in the same directory of your repo.
Yes, I have Hydration enabled as it's much more comfortable.So Hydration doesn't consider config changes if I understood correctly!?
Exactly. Config changes are ignored with Hydration switched on.