fix file check in watch for browserify