Discussion for the FileWatcher class found here.
I found myself running a lot of unit tests recently and the editor I was using to view the results would only load changes when it was focused. Probabbly should have downloaded a tail utility, but thought this would likely come in useful later. It uses the ReadDirectoryChangesW API call to monitor for changes. This is my first attempt at using these API by cobbling together stuff from the documentation and found around the net. Please let me know if you see anything that needs correcting.
I found myself running a lot of unit tests recently and the editor I was using to view the results would only load changes when it was focused. Probabbly should have downloaded a tail utility, but thought this would likely come in useful later. It uses the ReadDirectoryChangesW API call to monitor for changes. This is my first attempt at using these API by cobbling together stuff from the documentation and found around the net. Please let me know if you see anything that needs correcting.
Comment