Skip to content

Fix sass-watch bug#1064

Merged
msecret merged 5 commits into
18f-pages-stagingfrom
disable-recursive-watch
Mar 17, 2016
Merged

Fix sass-watch bug#1064
msecret merged 5 commits into
18f-pages-stagingfrom
disable-recursive-watch

Conversation

@rogeruiz

Copy link
Copy Markdown
Contributor

The original watch tasks around sass were too greedy when watching for file changes and would recursively watch themselves for ever. This PR fixes this problem so that npm start can successfully watch for subsequent changes to the source directories.

This patch removes `copy-vendor-sass` as a dependant task to `sass`.
This means that this task **must run before** any subsequent build
tasks.
Comment thread config/gulp/sass.js Outdated
@@ -1,4 +1,5 @@
var gulp = require('gulp');
var gutil = require('gulp-util');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does this end up getting used?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah ha not any more. I'll remove it.

msecret pushed a commit that referenced this pull request Mar 17, 2016
@msecret msecret merged commit 89c8d7f into 18f-pages-staging Mar 17, 2016
@maya maya deleted the disable-recursive-watch branch March 17, 2016 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants