Multiple watch tasks can be launched if you launch the task and close the app, then reopen and relaunch the task.
There are multiple ways of dealing with this, but the best would likely be done by improving the task shutdown checking. Currently it just checks if AppAid is open, i would like one of the following:
Logging of the PID in the app, and shutdown of AppAid causes a kill PID server command.
The shutdown of AppAid to trigger turning watch off, and the next time the watcher responds it simply shuts down because it is no longer "on".
Record the app ID, and when a app check i done compare the values and bail if they do not match.
Multiple watch tasks can be launched if you launch the task and close the app, then reopen and relaunch the task.
There are multiple ways of dealing with this, but the best would likely be done by improving the task shutdown checking. Currently it just checks if AppAid is open, i would like one of the following: