I'm trying to implement something similar to the gulp.watch() function in gulp.js, and watch for create/delete/changes to files matching a glob (i.e. '*/.dart', 'tests/*.dart').
Is there a way to do this using the standard library, or a way to implement this using a package on pub?