import { FileIPC } from "https://deno.land/x/pup@1.0.0-beta.32/lib/common/ipc.ts";
startWatching method initiates a file watcher on the filePath. When a file modification event occurs, it will debounce the call to extractMessages to ensure it doesn't get called more than once in a short amount of time (as specified by debounceTimeMs). The received messages from the extractMessages call are then added to the messageQueue to be consumed by the receiveData generator.