question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reloading App not updating for the latest modified code RN 0.61x

See original GitHub issue
System:
    OS: macOS Mojave 10.14.5
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 16.87 MB / 16.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 10.16.3 - /usr/local/bin/node
    Yarn: 1.19.1 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.1, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
  IDEs:
    Android Studio: 3.4 AI-183.6156.11.34.5692245
    Xcode: 11.1/11A1027 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0 
    react-native: 0.61.2 => 0.61.2 
  npmGlobalPackages:
    react-native-cli: 2.0.1
    react-native-git-upgrade: 0.2.7

Since this morning, after not doing anything new to my project, the code suddenly stopped updating the view in my Xcode project. I have tried everything reseting the cache, reinstalling watchman, disabling fast refresh but nothing works. It seems as the project is no longer linked to the current version of my code somehow but keeps referring back to previous version.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:55
  • Comments:68

github_iconTop GitHub Comments

124reactions
hugoh59commented, Oct 30, 2019

I’ve tried a lot of things including rm -rf .git/index.lock and now it works again, I’m not sure if that’s what solved it but try it out in case it ever comes back.

37reactions
xutmcommented, Dec 16, 2019

I’ve tried a lot of things including rm -rf .git/index.lock and now it works again, I’m not sure if that’s what solved it but try it out in case it ever comes back.

It take me a lot of time to solve. Just rm -rf .git/index.lock .

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native Development Process | Taro 文档 - GitHub Pages
This article mainly explains the Taro React Native end environment installation - development - debugging - packaging - release principles and processes, ...
Read more >
Prevent Reset Of Redux State On React Native Fast Refresh ...
Ask questionsReloading App not updating for the latest modified code RN 0.61x. System: OS: macOS Mojave 10.14.5 CPU: (12) x64 Intel(R) ...
Read more >
How can I regenerate ios folder in React Native project?
Delete /ios and /android folders which are remaining from your older app. Run $react-native upgrade to generate /ios and /android folders again.
Read more >
Clean And Minimalist React Native Template For A Quick Start ...
If you wish to not use npx , you can also install the new CLI globally ( npm ... similar to the current...
Read more >
React Native Development Process | Taro 文档
For Taro React Native APP development debugging tool, please check Taro ... 0.61.x, <=3.4.2 compatible, but not fully tested, please provide issue, 0.63.2, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found