LoginSignup
2
3

More than 5 years have passed since last update.

ReactNative最強の再起動のワンライナー

Last updated at Posted at 2018-07-05

alt
仕事のできる同僚から聞いたreact nativeを再起動するときの最強のワンライナーを紹介する。

watchman watch-del-all && rm -rf node_modules && rm -rf /tmp/metro-bundler-cache-* && npm i

これにiosフォルダのbuildディレクトリを削除すれば完璧らしい。

またReact Nativeではsimulatorを Erace all contentsすると、(キャッシュに関連した)原因不明のエラーが治ることがよくあるので試したい。

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3