fix watcher support: bundle.allFiles doesn't reset properly