ignore/exclude directory in watchlist not work
- Dominant language
- C++
- Stars
- 13.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
I have configured the watchman 4.9.4 on Ubuntu and its working fine.
For Directory exclude/Ignore I have done the setting like below but it didn't exclude the directory
cat state
{
"watched": [
{
"triggers": [
{
"command": [
"/home/niraj/watchjson.sh"
],
"append_files": true,
"name": "jsontest",
**"ignore_dirs": [
"/home/niraj/jsontest/ignore"**
],
"stdin": [
"name",
"exists",
"new",
"size",
"mode"
]
}
],
"path": "/home/niraj/jsontest"
},
],
"version": "4.9.4"
}
As its not work then I added the .watchmanconfig
{
"ignore_dirs": ["/home/niraj/jsontest/ignore"]
}
but its not work. Please guide how can I exclude directory/files.
Contributor guide
Assessment
This issue has not been assessed yet.