adjust incremental build to ease RSS development

This commit is contained in:
Joshua Seigler 2017-05-15 23:20:07 -04:00 committed by mr.wong
parent db491029b1
commit e1ec2cfa54

View file

@ -31,7 +31,7 @@
"build:images": "npm run imagemin",
"reload": "browser-sync reload",
"build": "run-s clean build:js build:css build:font build:jekyll copy htmlproof eslint",
"watch:jekyll": "onchange 'index.html' '*/*.html' '_*/**/*.yml' '_includes/**/*.html' '_layouts/**/*.html' '_posts/*' -e '_site/*' -d 500 -- run-s build:jekyll:incremental copy reload",
"watch:jekyll": "onchange 'index.html' '*/*.html' '*/*.xml' '_*/**/*.yml' '_includes/**/*.html' '_layouts/**/*.html' '_posts/*' -e '_site/*' -d 500 -- run-s build:jekyll:incremental copy reload",
"watch:css": "onchange 'src/scss/**/*' -d 500 -- run-s sass prefix copy:css",
"watch:js": "onchange 'src/js/*' -d 500 -- run-s uglify:dev copy:js reload",
"watch": "run-p serve watch:jekyll watch:css watch:js",