8.1.2 • Published 3 years ago

pathwatcher v8.1.2

Weekly downloads
1,252
License
-
Repository
github
Last release
3 years ago

Path Watcher Node module

ci Depenency Status

Installing

npm install pathwatcher

Building

  • Clone the repository
  • Run npm install to install the dependencies
  • Run npm test to run the specs

Using

PathWatcher = require 'pathwatcher'

PathWatcher.watch(filename, listener)

Watch for changes on filename, where filename is either a file or a directory. The returned object is a PathWatcher.

The listener callback gets two arguments (event, path). event can be rename, delete or change, and path is the path of the file which triggered the event.

For directories, the change event is emitted when a file or directory under the watched directory got created or deleted. And the PathWatcher.watch is not recursive, so changes of subdirectories under the watched directory would not be detected.

PathWatcher.close()

Stop watching for changes on the given PathWatcher.

8.1.2

3 years ago

8.1.1

4 years ago

8.1.0

5 years ago

8.0.2

6 years ago

7.1.1

7 years ago

8.0.1

7 years ago

8.0.0

7 years ago

7.1.0

7 years ago

7.1.0-1

7 years ago

7.1.0-0

7 years ago

7.0.0

8 years ago

6.9.0

8 years ago

6.8.1

8 years ago

6.8.0-1

8 years ago

6.8.0

8 years ago

6.8.0-0

8 years ago

6.7.1

8 years ago

6.7.0

8 years ago

6.6.2

8 years ago

6.6.1

8 years ago

6.6.0

8 years ago

6.5.0

9 years ago

6.4.0

9 years ago

6.3.2

9 years ago

6.3.1

9 years ago

6.3.0

9 years ago

6.2.5

9 years ago

6.2.4

9 years ago

6.2.3

9 years ago

6.2.2

9 years ago

6.2.1

9 years ago

5.0.1

9 years ago

6.2.0

9 years ago

6.1.0

9 years ago

4.4.5-0

9 years ago

4.4.4

9 years ago

6.0.0

9 years ago

5.0.0

9 years ago

4.4.3

9 years ago

4.4.2

9 years ago

4.4.1

9 years ago

4.4.0

10 years ago

4.3.1

10 years ago

4.3.0

10 years ago

4.2.0

10 years ago

4.1.2

10 years ago

3.3.3

10 years ago

4.1.1

10 years ago

3.3.2

10 years ago

4.1.0

10 years ago

3.3.1

10 years ago

3.3.0

10 years ago

3.2.1

10 years ago

4.0.2

10 years ago

3.2.0

10 years ago

3.1.1

10 years ago

4.0.1

10 years ago

4.0.0

10 years ago

3.1.0

10 years ago

3.0.0

10 years ago

2.7.0

10 years ago

2.6.1

10 years ago

2.6.0

10 years ago

2.5.0

10 years ago

2.4.0

10 years ago

2.3.7

10 years ago

2.3.6

10 years ago

2.3.5

10 years ago

2.3.4

10 years ago

2.3.3

10 years ago

2.3.2

10 years ago

2.3.1

10 years ago

2.3.0

10 years ago

2.2.2

10 years ago

2.2.1

10 years ago

2.2.0

10 years ago

2.1.3

10 years ago

2.1.2

10 years ago

2.1.1

10 years ago

2.1.0

10 years ago

2.0.12

10 years ago

2.0.11

10 years ago

2.0.10

10 years ago

2.0.9

10 years ago

2.0.8

10 years ago

2.0.7

10 years ago

2.0.6

10 years ago

2.0.5

10 years ago

2.0.4

10 years ago

2.0.3

10 years ago

1.5.0

10 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.4.0

10 years ago

1.3.2

10 years ago

1.3.1

11 years ago

1.3.0

11 years ago

1.2.4

11 years ago

1.2.3

11 years ago

1.2.2

11 years ago

1.2.1

11 years ago

1.2.0

11 years ago

1.1.1

11 years ago

1.1.0

11 years ago

0.20.0

11 years ago

1.0.0

11 years ago

0.19.0

11 years ago

0.18.0

11 years ago

0.17.0

11 years ago

0.16.0

11 years ago

0.15.0

11 years ago

0.14.2

11 years ago

0.14.1

11 years ago

0.14.0

11 years ago

0.13.0

11 years ago

0.12.0

11 years ago

0.11.0

11 years ago

0.10.0

11 years ago

0.9.0

11 years ago

0.8.0

11 years ago

0.7.0

11 years ago

0.6.0

11 years ago

0.5.0

11 years ago

0.4.0

12 years ago

0.3.0

12 years ago

0.2.0

12 years ago

0.1.5

12 years ago

0.1.4

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago