Skip to content

Instantly share code, notes, and snippets.

View augbog's full-sized avatar
🤡
heehee

Augustus Yuan augbog

🤡
heehee
View GitHub Profile
@augbog
augbog / checkFileForModifiedImports
Last active August 29, 2015 14:28 — forked from madsleejensen/checkFileForModifiedImports
grunt-newer configuration to only preprocess scss files that have imported files that have changed
# grunt-newer:
# Check for newer @import .scss files example
# See: https://github.com/tschaub/grunt-newer/issues/29
newer: {
options: {
override: function(details, include) {
if (details.task === 'sass') {
checkForNewerImports(details.path, details.time, include);
}