Skip to content

Commit

Permalink
remove docs-kss from watchers
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilad Gray committed Mar 2, 2017
1 parent 6f26f12 commit 3ec631b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions gulp/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = (blueprint, gulp, plugins) => {
blueprint.projectsWithBlock("sass").forEach((project) => {
const tasks = [`sass-${project.id}:only`];
if (project.id !== "docs") {
tasks.push("sass-variables", "docs-kss");
tasks.push("sass-variables");
}
gulp.watch(createSrcGlob(project, "*.scss"), tasks);
});
Expand All @@ -34,9 +34,6 @@ module.exports = (blueprint, gulp, plugins) => {
gulp.watch(createSrcGlob(project, "*.ts{,x}"), [`tsc-${project.id}:only`]);
});

const docsCwd = blueprint.findProject("docs").cwd;
gulp.watch(`${docsCwd}/src/styleguide.md`, ["docs-kss"]);

// recompile docs CSS when non-docs dist/*.css files change
gulp.watch("packages/!(docs)/dist/*.css", ["sass-docs:only"]);
});
Expand Down

0 comments on commit 3ec631b

Please sign in to comment.