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
0
votes
1 answer

Webpack HMR with React Native

Is there a recent Webpack HMR react-native boilerplate out there? I am having trouble finding a best practice for integrating an existing setup with Webpack and HMR to be used with react-native and the react-native packager. The resources I found…
wswoodruff
  • 213
  • 3
  • 7
0
votes
1 answer

Facebook React Native Hot Reload not working ( Ubuntu 14.04 )

Objective: I'm trying to get hot reload to work, where I make a change in the codebase, and changes appear within the android emulator as advertised. Problem: It doesn't work, I have a feeling it's related to facebook watchman. Everytime I make a…
Andrew Wei
  • 2,020
  • 1
  • 17
  • 28
0
votes
1 answer

Facebook watchman everytime looses connection on ubuntu 16.04

Facebook watchman everytime looses connection on ubuntu 16.04. Also it gives error "Error: Watcher took too long to load (WatchmanWatcher)". How can I uninstall watchman on ubuntu?
Abhishek Kumar
  • 2,136
  • 3
  • 24
  • 36
0
votes
1 answer

Using socket interface keeps sending overflow warnings

I'm establishing a watch via the socket interface, and then subscribing to changes. For each incoming PDU, if the map has a "warning" key, I output the warning to the console/user, as the docs suggest. However, when an overflow happens, it looks…
Stephen Haberman
  • 1,454
  • 1
  • 9
  • 12
0
votes
1 answer

Files read immediately after watchman notify are empty

I'm integrating watchman via the socket/bser interface in a JVM program. I'm seeing odd timing where: A file is written to by the build system (a small text file) I get a watchman notification on the bser interface Thread A listening for bser…
Stephen Haberman
  • 1,454
  • 1
  • 9
  • 12
0
votes
1 answer

react-native: The watchman connection was closed

React-native newbie question here: I can't get it to work on osx. Upon launching react-native run-ios testapp my app builds without errors and launches the iphone simulator, in the new terminal 'React Packager' I get the following error: ERROR …
Elger Mensonides
  • 6,930
  • 6
  • 46
  • 69
0
votes
1 answer

Having issues with watchman

Can someone tell me how to remove watchman from linux terminal? Going to try a different nodewatcher. I tried "sudo apt-get --purge remove watchman" and that didn't work.
kreasonos
  • 1
  • 1
0
votes
1 answer

`react-native start` takes long time

Working with react-native on Windows becomes more difficult with each passing day. At the beginning everything was working fine ("react-native": "^0.18.0-rc"). Then I upgrade react-native about four months later than I started. React-Native became…
efkan
  • 12,991
  • 6
  • 73
  • 106
0
votes
1 answer

Ember-cli wants watchman >3*, I have 4* but it still complains

After getting tired of seeing "Could not find watchman, falling back to NodeWatcher for file system events" I did brew install watchman and now get "Invalid watchman found, version: [4.5.0] did not satisfy [^3.0.0], falling back to NodeWatcher." yet…
Dave Everitt
  • 17,193
  • 6
  • 67
  • 97
0
votes
1 answer

How can I configure watchman to watch multiple fs roots?

Suppose for instance that I have two directories src and test and I want to run a command when a file changes in either of those trees. I don't want to watch their parent directory since src and test have siblings which I don't want to watch.
0
votes
1 answer

is watchman notifies for deleted files?

I tried to find in the documentation and I did not find indication. I read the win32 watch code (because I am familiar with the API and it seems it does not). Tracking for file deletion is extremely convoluted on windows, because the API provides…
gsf
  • 6,612
  • 7
  • 35
  • 64
0
votes
2 answers

Can't install watchman on ubuntu 14.04

I can't install watchman using linuxbrew, it is showing an error : error: command '/usr/bin/gcc-4.8' failed with exit status 1 make[1]: *** [py-build] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory…
0
votes
0 answers

Ember can't find watchman, but watchman seems to be installed properly

Yet another ember + watchman question. ember -v yields version: 1.13.8 Could not find watchman, falling back to NodeWatcher for file system events. Visit http://www.ember-cli.com/user-guide/#watchman for more info. node: 0.12.7 npm: 2.13.4 os: linux…
Robert Badea
  • 289
  • 3
  • 7
0
votes
1 answer

watchman not found on phusion/baseimage Docker image with ember-cli

Hi I'm working with ember-cli application on Docker image. When I run ember application using ember server I'm getting the following message version: 0.2.6 0.2.7 "Could not find watchman, falling back to NodeWatcher for file system …
genwip
  • 1,027
  • 1
  • 12
  • 20
0
votes
1 answer

What are the performance and reliability implications of watching too many files?

In Facebook's Watchman application, somewhere in the docs it says this: Most systems have a finite limit on the number of directories that can be watched effectively; when that limit is exceeded the performance and reliability of filesystem…
callum
  • 34,206
  • 35
  • 106
  • 163
1 2 3
12
13