fixed bug in watch for index.html