update watching and compiling