Middleware to keep browser up-to-date with file changes