Open mgutz opened 9 years ago
There should be a way to compare source files against destination files and build if the source is newer like make. Something like this
make
p.Task("stylesheets", func() { Run("sass src ...") }).Outdated("src/**/*.scss", "dist/**/*.css")
The advantage of doing this is "stylesheets" can be skipped if sass files have not changed. Moreover, the task can be auto-watched using the source glob.
There should be a way to compare source files against destination files and build if the source is newer like
make
. Something like thisThe advantage of doing this is "stylesheets" can be skipped if sass files have not changed. Moreover, the task can be auto-watched using the source glob.