[DAEMON-253] Paths of interest should only be watched once
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2019-04-01T06:18:19.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Appc Daemon 2.2.0 |
| Components | appcd-plugin-android, appcd-plugin-ios |
| Labels | n/a |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2018-04-13T22:04:37.000+0000 |
| Updated | 2019-04-01T06:26:27.000+0000 |
Description
The quick and dirty
watch() method used in the Android and iOS appcd plugin info service will record all active fs watch subscription ids, re-watch all paths of interest, then unwatch the original subscription ids. This works, but can lead to fs events being lost.
This issue was discovered while fixing DAEMON-252.
Fixed by https://github.com/appcelerator/appc-daemon-plugins/pull/4.