Commit Graph

12 Commits

Author SHA1 Message Date
Daniel Stolt
b011594be6 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.
2015-09-16 16:56:51 +02:00
Sébastien Ros
ce1df8d794 Merge pull request #5677 from dcinzona/Gulpfile-watch-assets.json
Enables gulp watch of Assets.json
2015-09-08 11:37:54 -07:00
Gustavo Tandeciarz
cfc1dc2379 Enables gulp watch of Assets.json
Will restart the watch task when Assets.json is changed.
2015-08-21 20:08:41 -04:00
Sebastien Ros
9e95f96195 Supporting .. syntax in watched assets 2015-08-21 16:01:44 -07:00
Daniel Stolt
b2c131f516 Refactored watch task in Gulpfile.js. 2015-08-16 16:15:46 +01:00
Gustavo Tandeciarz
e72471f020 Moved watchPaths in gulpfile
Moved the watchPaths generation to the watch task.
Cleaned up some spacing
2015-08-10 08:07:49 -04:00
Gustavo Tandeciarz
de74c00378 Updates to gulpfile.js
Removed comments and notify, as well as console.logs.
2015-08-10 07:53:19 -04:00
Gustavo Tandeciarz
b399925368 Updated Gulpfile.js
Switched property check to use `hasOwnProperty` instead of `!== undefined`
2015-08-05 08:42:08 -04:00
Gustavo Tandeciarz
ecbd485fd8 Updated Gulpfile.js
Removed variable option for rebuildAlways
Set watch task to always check `watchPaths` and populated that based on `watch` variable option (if the option is present, it will watch files designated in `watch` as well as files designated in `input`.  Otherwise, it will only watch files designated in `input`.
2015-08-05 08:28:08 -04:00
Gustavo Tandeciarz
0fcf8c7409 Updating gulpfile.js per request
Including some help text / comments
Set rebuildAlways to default to true when not specified
Set generateSourceMaps to default to true when not specified
Including files specified in 'inputs' into the watch list.
2015-08-05 06:37:46 -04:00
Gustavo Tandeciarz
47e0b96725 Fixes #5607
Added optional properties to the Assets.json to support separating watch and build lists.
Also added support for excluding sourcemaps as well as forcing rebuild.

Requires gulp-notify (added fancier notification for process completion).
2015-08-04 18:31:55 -04:00
Daniel Stolt
6da6c5c214 #5450: Implemented generalized Gulp automation.
Fixes #5446.
2015-07-26 01:14:14 +01:00