Skip to content

Instantly share code, notes, and snippets.

Avatar
🤡
heehee

Augustus Yuan augbog

🤡
heehee
View GitHub Profile
@augbog
augbog / checkFileForModifiedImports
Last active Aug 29, 2015 — forked from madsleejensen/checkFileForModifiedImports
grunt-newer configuration to only preprocess scss files that have imported files that have changed
View checkFileForModifiedImports
# 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);
}