I am going through the standard library documentation and trying out various functions to make myself familiar with them.
I tried the watch_file function to which you provide a callback function that is called whenever the file changes. The question I have is how do I stop watching? Of course I can kill Julia but that seems a little extreme and not that useful. In my test, I did not capture the returned value of the call. I did not look but I assume it returns some kind of pointer. I am assuming I would have to use that returned value in some other call like "forget" or something like that. Would anyone point me in the right direction? Thanks