Fix watchTask to watch for globs