add the type of file that was modified to the watcher

ok so this is good to go, i will let you add the logic to determine what to recompile since that all more in your domain