Watchman installed but Ember-CLI can't find it



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
/usr/local/Cellar/watchman/3.0.0 (4 files, 184K)
  Poured from bottle
/usr/local/Cellar/watchman/HEAD (4 files, 184K) *
  Built from source
==> 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


Does anything appear if you type watchman --version?



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


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


I restarted my machine and it does work now. Thanks