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

后端 未结 10 1602
栀梦
栀梦 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:03

    To complement the solution by @Renesaensz, in ionic 4.5.0 (or greater version) add cordova to the commands:

    • ionic cordova platform remove android

    then ionic

    • ionic cordova platform add android

提交回复
热议问题