Add watch task: Watch the changed files and generate the scripts