Adding file watches to invalidate cache on changes.