{"version":"2.1.277","anchor":"plugin-dir-file-watcher-with-adaptive-polling-and-configchan","canonical_anchor":"plugin-dir-file-watcher-with-adaptive-polling-and-configchan","heading":"Plugin-dir file watcher with adaptive polling and ConfigChange hook gate","tier":"notice","area":"Plugin Install","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/plugin-dir-file-watcher-with-adaptive-polling-and-configchan","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### Plugin-dir file watcher with adaptive polling and ConfigChange hook gate\n\nPlugin skill directories now get watched for changes, with adaptive polling and a ConfigChange hook gate\n\n**What**\n\nClaude Code now watches plugin skill directories (both whole folders and individual files) for changes, polling more often when there has been recent interaction and less often when idle. Before hot-reloading a plugin that uses 'files' scope, it asks a `ConfigChange` hook (a hook that runs when a configuration file changes during a session) whether the reload should proceed. If the hook blocks the reload, the currently loaded version of the plugin stays in place.\n\n**Why**\n\nThis lets plugin changes on disk be picked up automatically while giving hooks a way to veto a reload, for example to avoid reloading a plugin mid-edit or in an inconsistent state.\n\n- Area: Plugin Install\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5"}