Visual Studio Code で Sorbet を用いる際には Watchman を入れておく

結論

For the best experience, Sorbet requires Watchman, which listens for changes to the files on disk in addition to edits that happen to files open in the editor. For example, without Watchman installed, Sorbet will not detect when files have changed on disk due to things like changing the currently checked out branch.

sorbet.org

入れてないときに断続的に表示されるエラーポップアップ

gyazo.com

Watchman の入れ方

macOS

  • Homebrew が使えることを前提とする
$ brew install watchman

Ubuntu

$ sudo apt install -y watchman
Powered by はてなブログ