Questions tagged [watchman]

Questions about the file watching service from Facebook

Watchman is a file watching service that can be used to answer questions about how files have changed in a directory tree over time, or simply to trigger actions as files are changed.

You can read more about it at https://facebook.github.io/watchman

195 questions
6
votes
0 answers

Expo watchman Hot reloading not detecting code change in Docker volume

We are currently building a react-native app with expo inside a Docker container. This Expo-app uses watchman to handle hot reloading. Is there a polling mechanism which constantly polls the code in a Docker volume? Currently we have to reset the…
Christophe
  • 79
  • 7
6
votes
1 answer

FSEvents error when running create-react-native-app tests

I am getting the following errors when running yarn run test on a create-react-native-app: $ yarn run test yarn run v1.0.1 $ node node_modules/jest/bin/jest.js --watch 2017-09-13 14:53 node[2839] (FSEvents.framework) FSEventStreamStart:…
Le Moi
  • 975
  • 2
  • 15
  • 41
6
votes
1 answer

How can I direct output of watchman trigger to terminal on OS X instead of watchman log file

I am using the following line to watch a directory and run a script on changes: watchman -- trigger my_directory runTransitionChecker '*' -- ruby ./my_script.rb Everything works as I expect except all of the output of ruby ./my_script is directed…
shaheenery
  • 8,457
  • 2
  • 17
  • 14
5
votes
0 answers

warning: Watchman `watch-project` returned a warning: Recrawled this watch X times, most recently because

warning: Watchman `watch-project` returned a warning: Recrawled this watch 11 times, most recently because: MustScanSubDirs UserDroppedTo resolve, please review the information…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
5
votes
4 answers

Error received: "unable to resolve root". How to grant access to watchman?

I installed a react-native starter project and when running, it asked to grant permission to watchman to access my system's files. I naively declined, but now I get the following error whenever trying to run the folder: Error: unable to resolve root…
Genetic1989
  • 614
  • 1
  • 6
  • 19
5
votes
4 answers

React-native Fast Refresh broken

recently my Fast Refresh stopped working across ALL of my react native projects, I have even tried init-ing a new project and it is not working there too I have tried all the attempts below: -. watchman watch-del-all -. rm -rf…
Zennichimaro
  • 5,236
  • 6
  • 54
  • 78
5
votes
0 answers

React Native javascript changes not reflecting in ios simulator

I'm building a React Native application, and the javascript code updates are not reflecting in the ios Simulator. I have restarted the development server with react-native start and react-native start --reset-cache. I have used…
Steven Harlow
  • 631
  • 2
  • 11
  • 26
5
votes
0 answers

Watchman: failed to identify PDU: fill_buffer: EOF

I built a Android APP with React-Native. But when I run react-native run-android I got this error Watchman: failed to identify PDU: fill_buffer: EOF. [3:42:00 PM] Building Dependency Graph (2049ms) [sane] Warning: Lost connection to…
Kevin Lee
  • 282
  • 3
  • 13
5
votes
5 answers

React-Native Failed to build DependencyGraph: Watchman error

I getting this error when I want to run my project on Android emulator. [Hot Module Replacement] Server listening on /hot React packager ready. Failed to build DependencyGraph: Watchman error: query failed: synchronization failed: Permission…
ali ajoudanian
  • 93
  • 1
  • 2
  • 9
5
votes
2 answers

watchman: error while loading shared libraries: libpcre.so.1

I'm on Ubuntu 15.10 and I am developing an Android (SDK 23) app using react-native (0.20.0). I'm using node 5.6.0 and npm 3.6.0. I encountered a watchman error when running react-native start ERROR watchman--no-pretty get-sockname returned with…
r.oregan
  • 53
  • 5
4
votes
1 answer

Problems trying to install watchman on xubuntu 22.10 (2 methods used- compling and using deb file)

I'm trying to set up my pc for some android app development with react native. Following the react native docs, installing watchman is recommended: https://reactnative.dev/docs/environment-setup I have tried installing using the deb:…
CapSap
  • 53
  • 6
4
votes
4 answers

Homebrew can't install Watchman: No similarly named formulae found | MacOS Big Sur

Homebrew error screen capture Anybody know why my Homebrew can't install any packages and keep showing this error? I've tried to install watchman but homebrew shows me this error, then I tried to install other packages but still, this error shows…
SantanaJo
  • 41
  • 1
  • 5
4
votes
0 answers

Installing watchman for Reach Native in Mac OS X Catalina

I'm having trouble getting the latest version of Watchman to install property on Mac OS X Catalina. I am using Homebrew 2.2.1. I get this error when doing a clean install of brew install watchman. ==> Pouring…
Berry Blue
  • 15,330
  • 18
  • 62
  • 113
4
votes
2 answers

watchman warning in react native app running through expo

While running react native app using expo, I am getting this warning on watchman. watchman warning: opendir(/Users/saashwath/Library/Caches/CloudKit/com.apple.Safari) -> Operation not permitted. Marking this portion of the tree deleted To clear…
4
votes
2 answers

when using Watchman's watch-make I want to access the name of the changed files

I am writing a watchman command with watchman-make and I'm at a loss when trying to access exactly what was changed in the directory. I want to run my upload.py script and inside the script I would like to access filenames of newly created files in…
1 2
3
12 13