Watchman installed but Ember-CLI can't find it


#1

Hello,

I updated my addon using Ember-CLI 0.1.12 from the version 0.1.2. Everything works fine, except that this new version is not able to find watchman on my machine. I have the latest version of watchman installed:

Tilix-MacBook-Pro:~ Tilix$ brew info watchman
watchman: stable 3.0.0 (bottled), HEAD
https://github.com/facebook/watchman
/usr/local/Cellar/watchman/3.0.0 (4 files, 184K)
  Poured from bottle
/usr/local/Cellar/watchman/HEAD (4 files, 184K) *
  Built from source
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/watchman.rb
==> Dependencies
Build: autoconf ✔, automake ✔, pkg-config ✔
Required: pcre ✔

When I’m running ember server, I get the warning message:

Tilix-MacBook-Pro:my-project Tilix$ ember server
version: 0.1.12
Could not find watchman, falling back to NodeWatcher for file system events

Any idea what’s wrong? Thanks


#2

Does anything appear if you type watchman --version?


#3

Yes!

Tilix-MacBook-Pro:~ Tilix$ watchman --version
3.0.0

#4

What output do you get by running DEBUG=ember-cli:watcher ember server?


#5

I restarted my machine and it does work now. Thanks