iwatch behaves differently when trailing slash is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iwatch (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
If I run iwatch without a trailing slash, it behaves as I expect:
$ iwatch -r src
[25/Jan/2023 15:54:12] IN_CREATE src/kqjq
[25/Jan/2023 15:54:12] IN_CLOSE_WRITE src/kqjq
[25/Jan/2023 15:54:12] * src/kqjq is closed
However, if I run iwatch passing to it a directory name with a trailing slash, it doesn't pick up events:
$ iwatch -r src/
# hangs forever
ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: iwatch 0.2.2-9
ProcVersionSign
Uname: Linux 5.19.0-29-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Jan 25 15:58:06 2023
InstallationDate: Installed on 2021-06-24 (580 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
PackageArchitec
SourcePackage: iwatch
UpgradeStatus: Upgraded to kinetic on 2022-12-23 (32 days ago)