Skip to content
Coding Fanatic
  • Android Development
  • News and Reviews
  • Road2Pro
  • Tutorials
  • Services
  • About

Watch Me Fix the Watchman, 32/100 Days of Code

  • June 16, 2019December 24, 2019
  • by Richard Clarke

I found a fix for failing Watchman crawls! Then I lost to an age old computing arch nemesis…

Last time, I was unable to emulate my React Native app in an Android emulator due to a failed Watchman crawl. Watchman is a tool which monitors my changes while I write code and updates the application as it runs on a device. For some reason I couldn’t get it to work, until now. You can find the video at the bottom of the page

When Watchman fails, the terminal window provides a link to the documentation which contains terminal commands for restarting it.

Without these commands, Watchman will continue to fail even when the computer is restarted. After I input these commands, I attempted to run Watchman one more time before I came across the exact same issue AGAIN.

But something seemed off. How was it that the error persisted when the Watchman process ended? I opened my Activity Monitor to gain more insight. Maybe the process never actually ended. That’s when I saw it.

My laptop was using 7 GB of RAM!

Between the emulator, Chrome, Java, and a few other processes, my CPU was going bonkers. I had to restart immediately.

When I logged back in and tried again, sure enough, my application opened with no problem.

I now know how to troubleshoot failed Watchman crawls like a professional! You can find the video below.

-CF

Related

Infinite Loop, 31/100 Days of Code
Family Ties, 33/100 Days of Code
Richard Clarke
Richard is currently a developer using Java and Android Studio to build custom applications for Android. Richard tutored in mathematics at Montgomery College, and worked in Information Technology before entering the Software Development industry as a Quality Engineer.
100daysofcode javascript react-native

Related articles

Your New Favorite Stopwatch App!…
Two for Two BABY! 7…
…But the App is for…
Play Store Blues – 5…
Top 4 Tips for Android…
No Dice – 3 of…

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Join the mailing list!

This field is required.

Check your inbox or spam folder to confirm your subscription.

Follow me on social media!

  • GitHub
  • YouTube
  • X
  • Instagram
  • LinkedIn
My Tweets

Join the mailing list!

This field is required.

Check your inbox or spam folder to confirm your subscription.

Follow me on social media!

  • X
  • GitHub
  • LinkedIn
  • YouTube

Archives

Theme by Colorlib Powered by WordPress