How to use the chokidar.unwatch function in chokidar

To help you get started, we’ve selected a few chokidar examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github raomengyun / auto_assets / lib / folder_watcher / folder_watcher.js View on Github external
stop() {
    const chokidar = require("chokidar");
    chokidar.unwatch(this.config.assets);
  }

chokidar

Minimal and efficient cross-platform file watching library

MIT
Latest version published 1 year ago

Package Health Score

81 / 100
Full package analysis