Detect if it's require to run a gulp task that watching a directory and do later some process