mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-26 12:03:16 +08:00
Improved asset manifest file change handling in Gulpfile.js.
Code now only restarts watchers for the asset groups in the changed asset manifest file, rather than *all* asset groups. The "build" task now forces rebuild of a given asset group if its asset manifest file is newer than its concatenated output. Refactored and cleaned up the code.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"fs": "^0.0.2",
|
||||
"glob": "^5.0.14",
|
||||
"path-posix": "^1.0.0",
|
||||
"merge-stream": "^0.1.8",
|
||||
@@ -16,8 +17,7 @@
|
||||
"gulp-uglify": "^1.2.0",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"gulp-concat": "^2.5.2",
|
||||
"gulp-header": "^1.2.2",
|
||||
"fs": "^0.0.2"
|
||||
"gulp-header": "^1.2.2"
|
||||
},
|
||||
"dependencies": { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user