watcher 0.9.7+4

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 93

A file system watcher.

It monitors changes to contents of directories and sends notifications when files have been added, removed, or modified.

0.9.7+4

  • Declare support for async 2.0.0.

0.9.7+3

  • Fix a crashing bug on Linux.

0.9.7+2

  • Narrow the constraint on async to reflect the APIs this package is actually using.

0.9.7+1

  • Fix all strong-mode warnings.

0.9.7

  • Fix a bug in FileWatcher where events could be added after watchers were closed.

0.9.6

  • Add a Watcher interface that encompasses watching both files and directories.

  • Add FileWatcher and PollingFileWatcher classes for watching changes to individual files.

  • Deprecate DirectoryWatcher.directory. Use DirectoryWatcher.path instead.

0.9.5

  • Fix bugs where events could be added after watchers were closed.

0.9.4

  • Treat add events for known files as modifications instead of discarding them on Mac OS.

0.9.3

  • Improved support for Windows via WindowsDirectoryWatcher.

  • Simplified PollingDirectoryWatcher.

  • Fixed bugs in MacOSDirectoryWatcher

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  watcher: "^0.9.7+4"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:watcher/watcher.dart';
        
Version Uploaded Documentation Archive
0.9.7+4 Sep 21, 2017 Go to the documentation of watcher 0.9.7+4 Download watcher 0.9.7+4 archive
0.9.7+3 Aug 10, 2016 Go to the documentation of watcher 0.9.7+3 Download watcher 0.9.7+3 archive
0.9.7+2 May 3, 2016 Go to the documentation of watcher 0.9.7+2 Download watcher 0.9.7+2 archive
0.9.7 Jul 16, 2015 Go to the documentation of watcher 0.9.7 Download watcher 0.9.7 archive
0.9.6 Jun 12, 2015 Go to the documentation of watcher 0.9.6 Download watcher 0.9.6 archive
0.9.5 Mar 10, 2015 Go to the documentation of watcher 0.9.5 Download watcher 0.9.5 archive
0.9.4 Jan 22, 2015 Go to the documentation of watcher 0.9.4 Download watcher 0.9.4 archive
0.9.3 Aug 4, 2014 Go to the documentation of watcher 0.9.3 Download watcher 0.9.3 archive
0.9.2 Dec 10, 2013 Go to the documentation of watcher 0.9.2 Download watcher 0.9.2 archive
0.9.1 Dec 9, 2013 Go to the documentation of watcher 0.9.1 Download watcher 0.9.1 archive

All 50 versions...

Analysis

This feature is new.
We welcome feedback.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Dec 6, 2017
  • Dart: 2.0.0-dev.8.0
  • pana: 0.7.3+1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
88
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
99
Overall score:
Weighted score of the above. [more]
93

Platforms

Detected platforms: Flutter, server

all of the above

Suggestions

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

Dependencies

Package Constraint Resolved Available
Direct dependencies
async >=1.10.0 <3.0.0 2.0.1
path >=0.9.0 <2.0.0 1.5.1
Transitive dependencies
collection 1.14.3
Dev dependencies
benchmark_harness ^1.0.4
scheduled_test ^0.12.0
test ^0.12.0