watcher 0.9.7+10

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 99

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+10

  • Set max SDK version to <3.0.0, and adjust other dependencies.

0.9.7+9

  • Internal changes only.

0.9.7+8

  • Fix Dart 2.0 type issues on Mac and Windows.

0.9.7+7

  • Updates to support Dart 2.0 core library changes (wave 2.2). See issue 31847 for details.

0.9.7+6

  • Internal changes only, namely removing dep on scheduled test.

0.9.7+5

  • Fix an analysis warning.

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

Use this package as a library

1. Depend on it

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


dependencies:
  watcher: ^0.9.7+10

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 flutter 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+10 Jul 18, 2018 Go to the documentation of watcher 0.9.7+10 Download watcher 0.9.7+10 archive
0.9.7+9 Jun 25, 2018 Go to the documentation of watcher 0.9.7+9 Download watcher 0.9.7+9 archive
0.9.7+8 May 23, 2018 Go to the documentation of watcher 0.9.7+8 Download watcher 0.9.7+8 archive
0.9.7+7 Feb 1, 2018 Go to the documentation of watcher 0.9.7+7 Download watcher 0.9.7+7 archive
0.9.7+6 Jan 5, 2018 Go to the documentation of watcher 0.9.7+6 Download watcher 0.9.7+6 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

All 55 versions...

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

We analyzed this package on Aug 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.11.8

Platforms

Detected platforms: Flutter, other

Primary library: package:watcher/watcher.dart with components: io.

Suggestions

Package is pre-v1 release.

While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction of the API.

Fix lib/src/utils.dart.

Analysis of lib/src/utils.dart reported 1 hint:

line 38 col 29: 'typed' is deprecated and shouldn't be used.

Maintain an example.

None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use watcher.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.61.0 <3.0.0
async >=1.10.0 <3.0.0 2.0.8
path >=0.9.0 <2.0.0 1.6.2
Transitive dependencies
collection 1.14.11
Dev dependencies
benchmark_harness ^1.0.4
test >=0.12.42 <2.0.0
test_descriptor ^1.0.0