Working version.
Watch command not completed.
Still need to write checks to see if files changed to avoid doing preprocessing.