How to clear react-native cache?

后端 未结 13 2198
傲寒
傲寒 2020-12-02 19:49

In react-native development, there are multiple caches used when the app is built:

  1. React-native packager cache
  2. Emulator cache
  3. Java side cache
13条回答
  •  感情败类
    2020-12-02 20:41

    If you are using WebStorm, press configuration selection drop down button left of the run button and select edit configurations:

    Double click on Start React Native Bundler at bottom in Before launch section:

    Enter --reset-cache to Arguments section:

提交回复
热议问题