[fix] Chokidar update file fix + minor fixes