facebook / watchman

Watches files and records, or triggers actions, when they change.
https://facebook.github.io/watchman/
MIT License
12.63k stars 991 forks source link

Use "launchctl bootstrap" on MacOS #1220

Open sluongng opened 3 months ago

sluongng commented 3 months ago

In the most recent MacOS releases, launchctl load is marked as "Legacy":

LEGACY SUBCOMMANDS
     Legacy subcommands select the target domain based on whether they are executed as root or not. When executed as root,
     they target the system domain.

     load | unload [-wF] [-S sessiontype] [-D searchpath] paths ...
              Recommended alternative subcommands: bootstrap | bootout | enable | disable
...

So it might be a good idea to switch to launchctl boostrap instead.