facebook / facebook/watchman

Watchman does not restart after restarting Centos server

Open
#924 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
13.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Watchman 4.9.0 works fine if centos 7 server is not rebooted.

After rebooting centos server, watchman does not notify any files modified or created. However, running some watchman commands like `watchman watch-list,` or `watchman trigger-list /home/john/test/` then the watchman works again normally.
Is this the expected behavior?

The commands executed were:

`watchman watch ~/test/`

`watchman -- trigger ~/test/ 'testtrig' '*.txt' -- ~/scr.sh`

After rebooting server the trigger list shows the following:

```
watchman trigger-list /home/john/test/
{
"version": "4.9.0",
"roots": [
"/home/john/test"
]
}
```

And no new logs are created in /usr/local/var/run/watchman/john/log

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.