winwatch

2.0.0 • Public • Published

node-winwatch

This module is only for Windows users

Why not use fs.watch or chokidar

The fs.watch api is unstable. Chokidar also has a few bugs.

Installation


via NPM

npm i winwatch

via Yarn

yarn add winwatch

Usage


var winwatch = require("winwatch").default;
var w = new winwatch("C:/Users/Admin/Documents/...", (path, event, isDir) => {
  console.log(`${event} ${isDir ? "Folder" : "File"} ${path}`);
});
w.start();

Readme

Keywords

none

Package Sidebar

Install

npm i winwatch

Weekly Downloads

0

Version

2.0.0

License

ISC

Unpacked Size

10.4 kB

Total Files

7

Last publish

Collaborators

  • vaheqelyan