add clean task to watch.js script

remove the generated java and compiled class files before compiling
to avoid errors between builds