fix local file watching