How to force refresh the cached source files upon Ionic build/run?

后端 未结 10 1601
栀梦
栀梦 2020-12-29 01:16

I have this random issue with ionic build or ionic run.

I\'ve noticed that during compilation it uses the cache of my source code, therefor

10条回答
  •  离开以前
    2020-12-29 02:01

    You need to increment your app version on your config.xml (at the top of your project folder) to reflect your changes before running:

    On this example, increment the attribute version to 0.0.9: version="0.0.9".

    Then run android or run ios.

提交回复
热议问题