{ "id": "171111", "key": "DAEMON-235", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12519", "key": "DAEMON", "name": "Appcelerator Daemon" }, "fixVersions": [ { "id": "19959", "description": "", "name": "Appc Daemon 1.1.0", "archived": false, "released": true, "releaseDate": "2018-04-09" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-03-09T22:34:01.000+0000", "created": "2018-02-14T23:11:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-03-09T22:34:01.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15607", "name": "appcd-fswatcher" } ], "description": "When recursive watching a directory, it will correctly emit change events for new subdirectories and start watching them. However if the subdirectories are deleted, the fs watcher continues to watch the non-existent node.\r\n\r\n{code}\r\nnew FSWatcher('/some/path', { depth: 1, recursive: true });\r\n{code}\r\n\r\n{code}\r\nmkdir /some/path/foo\r\nrmdir /some/path/foo\r\nappcd status\r\n{code}\r\n\r\nIt still continues to watch {{/some/path/foo}}.", "attachment": [], "flagged": false, "summary": "appcd-fswatcher: Recursive fs watchers do not clean up when subdirectories are deleted", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "closedSprints": [ { "id": 1007, "state": "closed", "name": "2018 Sprint 05 Tooling", "startDate": "2018-02-25T17:48:46.503Z", "endDate": "2018-03-11T16:48:00.000Z", "completeDate": "2018-03-11T22:21:44.972Z", "originBoardId": 219 } ], "comment": { "comments": [ { "id": "435060", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "PR: https://github.com/appcelerator/appc-daemon/pull/289", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-03-01T16:12:11.000+0000", "updated": "2018-03-01T16:12:11.000+0000" }, { "id": "435409", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, run {{gulp coverage}} from the {{packages/appcd-fswatcher}} directory on all platforms. Then on Linux and macOS, run {{sudo gulp coverage}}.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-03-09T04:30:18.000+0000", "updated": "2018-03-09T04:30:18.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }