Completed the watch command and added cross platform support for it