From 5e4fa5cf078db667a7b45dcf2e45b9a9f46b2690 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 7 May 2015 21:55:21 -0700 Subject: [PATCH] build(gulp): use gulp-watch instead of gulp.watch for watching files gulp-watch uses chokidar which uses fsevents which is much better than fs polling or relying on fs.watch. fsevents use only one FD per watch invocation as opposed to one FD per watched directory and any subdirectory. this should improve the situation with EMFILE errors (caused by lack of available file descriptors) ---- I also tried the following: gulp-sane: requires watchman installation via brew so I didn't want to request that everyone goes throught that yet gulp-chokidar: didn't work, seems to be obsolete --- gulpfile.js | 11 +- npm-shrinkwrap.clean.json | 265 +++++++++++++++++++++++ npm-shrinkwrap.json | 433 +++++++++++++++++++++++++++++++++++++- package.json | 1 + 4 files changed, 694 insertions(+), 16 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 551a11842e..992ca4dede 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -13,6 +13,7 @@ var madge = require('madge'); var merge = require('merge'); var merge2 = require('merge2'); var path = require('path'); +var watch = require('gulp-watch'); var clean = require('./tools/build/clean'); var transpile = require('./tools/build/transpile'); @@ -269,7 +270,7 @@ function createDocsTasks(publicBuild) { gulp.task(taskPrefix, [taskPrefix + '/assets', taskPrefix + '/app', taskPrefix + '/dgeni']); gulp.task(taskPrefix + '/watch', function() { - return gulp.watch('docs/app/**/*', [taskPrefix + '/app']); + return watch('docs/app/**/*', [taskPrefix + '/app']); }); gulp.task(taskPrefix + '/test', function (done) { @@ -337,7 +338,7 @@ gulp.task('test.unit.js', ['build.js.dev'], function (neverDone) { 'check-format' ); - gulp.watch('modules/**', function() { + watch('modules/**', function() { runSequence( '!broccoli.js.dev', '!test.unit.js/karma-run', @@ -368,7 +369,7 @@ gulp.task('test.unit.dart', ['build/tree.dart'], function (done) { '!test.unit.dart/karma-run' ); - gulp.watch('modules/angular2/**', function() { + watch('modules/angular2/**', function() { runSequence( '!build/tree.dart', '!test.unit.dart/karma-run' @@ -420,7 +421,7 @@ gulp.task('test.unit.cjs', ['build/clean.js', 'build.tools'], function (done) { buildAndTest(); - gulp.watch('modules/**', buildAndTest); + watch('modules/**', buildAndTest); }); @@ -441,7 +442,7 @@ gulp.task('test.unit.tools', ['build/clean.tools'], function(done) { buildAndTest(); - gulp.watch('tools/**', buildAndTest); + watch('tools/**', buildAndTest); }); diff --git a/npm-shrinkwrap.clean.json b/npm-shrinkwrap.clean.json index 0c0b0d60e1..9a504de86c 100644 --- a/npm-shrinkwrap.clean.json +++ b/npm-shrinkwrap.clean.json @@ -6213,6 +6213,271 @@ } } }, + "gulp-watch": { + "version": "4.2.4", + "dependencies": { + "anymatch": { + "version": "1.1.0", + "dependencies": { + "minimatch": { + "version": "1.0.0", + "dependencies": { + "lru-cache": { + "version": "2.6.2" + }, + "sigmund": { + "version": "1.0.0" + } + } + } + } + }, + "chokidar": { + "version": "1.0.1", + "dependencies": { + "arrify": { + "version": "1.0.0" + }, + "async-each": { + "version": "0.1.6" + }, + "is-binary-path": { + "version": "1.0.0", + "dependencies": { + "binary-extensions": { + "version": "1.3.0" + } + } + }, + "readdirp": { + "version": "1.3.0", + "dependencies": { + "graceful-fs": { + "version": "2.0.3" + }, + "minimatch": { + "version": "0.2.14", + "dependencies": { + "lru-cache": { + "version": "2.6.2" + }, + "sigmund": { + "version": "1.0.0" + } + } + } + } + }, + "fsevents": { + "version": "0.3.6", + "dependencies": { + "nan": { + "version": "1.8.4" + } + } + } + } + }, + "glob-parent": { + "version": "1.2.0" + }, + "gulp-util": { + "version": "3.0.4", + "dependencies": { + "array-differ": { + "version": "1.0.0" + }, + "array-uniq": { + "version": "1.0.2" + }, + "beeper": { + "version": "1.0.0" + }, + "chalk": { + "version": "1.0.0", + "dependencies": { + "ansi-styles": { + "version": "2.0.1" + }, + "escape-string-regexp": { + "version": "1.0.3" + }, + "has-ansi": { + "version": "1.0.3", + "dependencies": { + "ansi-regex": { + "version": "1.1.1" + }, + "get-stdin": { + "version": "4.0.1" + } + } + }, + "strip-ansi": { + "version": "2.0.1", + "dependencies": { + "ansi-regex": { + "version": "1.1.1" + } + } + }, + "supports-color": { + "version": "1.3.1" + } + } + }, + "dateformat": { + "version": "1.0.11", + "dependencies": { + "get-stdin": { + "version": "4.0.1" + }, + "meow": { + "version": "3.1.0", + "dependencies": { + "camelcase-keys": { + "version": "1.0.0", + "dependencies": { + "camelcase": { + "version": "1.0.2" + }, + "map-obj": { + "version": "1.0.1" + } + } + } + } + } + } + }, + "lodash._reescape": { + "version": "3.0.0" + }, + "lodash._reevaluate": { + "version": "3.0.0" + }, + "lodash._reinterpolate": { + "version": "3.0.0" + }, + "lodash.template": { + "version": "3.5.1", + "dependencies": { + "lodash._basecopy": { + "version": "3.0.1" + }, + "lodash._basetostring": { + "version": "3.0.0" + }, + "lodash._basevalues": { + "version": "3.0.0" + }, + "lodash._isiterateecall": { + "version": "3.0.7" + }, + "lodash.escape": { + "version": "3.0.0" + }, + "lodash.isnative": { + "version": "3.0.2" + }, + "lodash.keys": { + "version": "3.0.7", + "dependencies": { + "lodash.isarguments": { + "version": "3.0.2" + }, + "lodash.isarray": { + "version": "3.0.2" + } + } + }, + "lodash.restparam": { + "version": "3.6.1" + }, + "lodash.templatesettings": { + "version": "3.1.0" + } + } + }, + "multipipe": { + "version": "0.1.2", + "dependencies": { + "duplexer2": { + "version": "0.0.2", + "dependencies": { + "readable-stream": { + "version": "1.1.13", + "dependencies": { + "core-util-is": { + "version": "1.0.1" + }, + "isarray": { + "version": "0.0.1" + }, + "string_decoder": { + "version": "0.10.31" + }, + "inherits": { + "version": "2.0.1" + } + } + } + } + } + } + }, + "object-assign": { + "version": "2.0.0" + }, + "replace-ext": { + "version": "0.0.1" + } + } + }, + "is-glob": { + "version": "1.1.3" + }, + "path-is-absolute": { + "version": "1.0.0" + }, + "readable-stream": { + "version": "1.0.33", + "dependencies": { + "core-util-is": { + "version": "1.0.1" + }, + "isarray": { + "version": "0.0.1" + }, + "string_decoder": { + "version": "0.10.31" + }, + "inherits": { + "version": "2.0.1" + } + } + }, + "vinyl-file": { + "version": "1.1.1", + "dependencies": { + "graceful-fs": { + "version": "3.0.6" + }, + "strip-bom": { + "version": "1.0.0", + "dependencies": { + "first-chunk-stream": { + "version": "1.0.0" + }, + "is-utf8": { + "version": "0.2.0" + } + } + } + } + } + } + }, "gulp-webserver": { "version": "0.8.8", "dependencies": { diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index da553ca8a6..914a56a09c 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -5803,7 +5803,7 @@ }, "gulp-clang-format": { "version": "1.0.4", - "from": "gulp-clang-format@1.0.4", + "from": "https://registry.npmjs.org/gulp-clang-format/-/gulp-clang-format-1.0.4.tgz", "resolved": "https://registry.npmjs.org/gulp-clang-format/-/gulp-clang-format-1.0.4.tgz", "dependencies": { "gulp-util": { @@ -9608,6 +9608,417 @@ } } }, + "gulp-watch": { + "version": "4.2.4", + "from": "gulp-watch@*", + "resolved": "https://registry.npmjs.org/gulp-watch/-/gulp-watch-4.2.4.tgz", + "dependencies": { + "anymatch": { + "version": "1.1.0", + "from": "anymatch@>=1.1.0 <1.2.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.1.0.tgz", + "dependencies": { + "minimatch": { + "version": "1.0.0", + "from": "minimatch@>=1.0.0 <1.1.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-1.0.0.tgz", + "dependencies": { + "lru-cache": { + "version": "2.6.2", + "from": "lru-cache@>=2.0.0 <3.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.6.2.tgz" + }, + "sigmund": { + "version": "1.0.0", + "from": "sigmund@>=1.0.0 <1.1.0", + "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz" + } + } + } + } + }, + "chokidar": { + "version": "1.0.1", + "from": "chokidar@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.0.1.tgz", + "dependencies": { + "arrify": { + "version": "1.0.0", + "from": "arrify@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.0.tgz" + }, + "async-each": { + "version": "0.1.6", + "from": "async-each@>=0.1.5 <0.2.0", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-0.1.6.tgz" + }, + "is-binary-path": { + "version": "1.0.0", + "from": "is-binary-path@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.0.tgz", + "dependencies": { + "binary-extensions": { + "version": "1.3.0", + "from": "binary-extensions@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.3.0.tgz" + } + } + }, + "readdirp": { + "version": "1.3.0", + "from": "readdirp@>=1.3.0 <2.0.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-1.3.0.tgz", + "dependencies": { + "graceful-fs": { + "version": "2.0.3", + "from": "graceful-fs@>=2.0.0 <2.1.0", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.3.tgz" + }, + "minimatch": { + "version": "0.2.14", + "from": "minimatch@>=0.2.12 <0.3.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz", + "dependencies": { + "lru-cache": { + "version": "2.6.2", + "from": "lru-cache@>=2.0.0 <3.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.6.2.tgz" + }, + "sigmund": { + "version": "1.0.0", + "from": "sigmund@>=1.0.0 <1.1.0", + "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz" + } + } + } + } + }, + "fsevents": { + "version": "0.3.6", + "from": "fsevents@>=0.3.1 <0.4.0", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-0.3.6.tgz", + "dependencies": { + "nan": { + "version": "1.8.4", + "from": "nan@>=1.8.0 <2.0.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-1.8.4.tgz" + } + } + } + } + }, + "glob-parent": { + "version": "1.2.0", + "from": "glob-parent@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-1.2.0.tgz" + }, + "gulp-util": { + "version": "3.0.4", + "from": "gulp-util@>=3.0.0 <3.1.0", + "resolved": "https://registry.npmjs.org/gulp-util/-/gulp-util-3.0.4.tgz", + "dependencies": { + "array-differ": { + "version": "1.0.0", + "from": "array-differ@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz" + }, + "array-uniq": { + "version": "1.0.2", + "from": "array-uniq@>=1.0.2 <2.0.0", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.2.tgz" + }, + "beeper": { + "version": "1.0.0", + "from": "beeper@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/beeper/-/beeper-1.0.0.tgz" + }, + "chalk": { + "version": "1.0.0", + "from": "chalk@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.0.0.tgz", + "dependencies": { + "ansi-styles": { + "version": "2.0.1", + "from": "ansi-styles@>=2.0.1 <3.0.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.0.1.tgz" + }, + "escape-string-regexp": { + "version": "1.0.3", + "from": "escape-string-regexp@>=1.0.2 <2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.3.tgz" + }, + "has-ansi": { + "version": "1.0.3", + "from": "has-ansi@>=1.0.3 <2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-1.0.3.tgz", + "dependencies": { + "ansi-regex": { + "version": "1.1.1", + "from": "ansi-regex@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-1.1.1.tgz" + }, + "get-stdin": { + "version": "4.0.1", + "from": "get-stdin@>=4.0.1 <5.0.0", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz" + } + } + }, + "strip-ansi": { + "version": "2.0.1", + "from": "strip-ansi@>=2.0.1 <3.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-2.0.1.tgz", + "dependencies": { + "ansi-regex": { + "version": "1.1.1", + "from": "ansi-regex@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-1.1.1.tgz" + } + } + }, + "supports-color": { + "version": "1.3.1", + "from": "supports-color@>=1.3.0 <2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-1.3.1.tgz" + } + } + }, + "dateformat": { + "version": "1.0.11", + "from": "dateformat@>=1.0.11 <2.0.0", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-1.0.11.tgz", + "dependencies": { + "get-stdin": { + "version": "4.0.1", + "from": "get-stdin@*", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz" + }, + "meow": { + "version": "3.1.0", + "from": "meow@*", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.1.0.tgz", + "dependencies": { + "camelcase-keys": { + "version": "1.0.0", + "from": "camelcase-keys@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-1.0.0.tgz", + "dependencies": { + "camelcase": { + "version": "1.0.2", + "from": "camelcase@>=1.0.1 <2.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.0.2.tgz" + }, + "map-obj": { + "version": "1.0.1", + "from": "map-obj@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz" + } + } + } + } + } + } + }, + "lodash._reescape": { + "version": "3.0.0", + "from": "lodash._reescape@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash._reescape/-/lodash._reescape-3.0.0.tgz" + }, + "lodash._reevaluate": { + "version": "3.0.0", + "from": "lodash._reevaluate@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz" + }, + "lodash._reinterpolate": { + "version": "3.0.0", + "from": "lodash._reinterpolate@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz" + }, + "lodash.template": { + "version": "3.5.1", + "from": "lodash.template@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-3.5.1.tgz", + "dependencies": { + "lodash._basecopy": { + "version": "3.0.1", + "from": "lodash._basecopy@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz" + }, + "lodash._basetostring": { + "version": "3.0.0", + "from": "lodash._basetostring@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash._basetostring/-/lodash._basetostring-3.0.0.tgz" + }, + "lodash._basevalues": { + "version": "3.0.0", + "from": "lodash._basevalues@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz" + }, + "lodash._isiterateecall": { + "version": "3.0.7", + "from": "lodash._isiterateecall@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.7.tgz" + }, + "lodash.escape": { + "version": "3.0.0", + "from": "lodash.escape@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-3.0.0.tgz" + }, + "lodash.isnative": { + "version": "3.0.2", + "from": "lodash.isnative@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash.isnative/-/lodash.isnative-3.0.2.tgz" + }, + "lodash.keys": { + "version": "3.0.7", + "from": "lodash.keys@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.0.7.tgz", + "dependencies": { + "lodash.isarguments": { + "version": "3.0.2", + "from": "lodash.isarguments@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.0.2.tgz" + }, + "lodash.isarray": { + "version": "3.0.2", + "from": "lodash.isarray@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.2.tgz" + } + } + }, + "lodash.restparam": { + "version": "3.6.1", + "from": "lodash.restparam@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash.restparam/-/lodash.restparam-3.6.1.tgz" + }, + "lodash.templatesettings": { + "version": "3.1.0", + "from": "lodash.templatesettings@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-3.1.0.tgz" + } + } + }, + "multipipe": { + "version": "0.1.2", + "from": "multipipe@>=0.1.2 <0.2.0", + "resolved": "https://registry.npmjs.org/multipipe/-/multipipe-0.1.2.tgz", + "dependencies": { + "duplexer2": { + "version": "0.0.2", + "from": "duplexer2@0.0.2", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", + "dependencies": { + "readable-stream": { + "version": "1.1.13", + "from": "readable-stream@>=1.1.9 <1.2.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13.tgz", + "dependencies": { + "core-util-is": { + "version": "1.0.1", + "from": "core-util-is@>=1.0.0 <1.1.0", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz" + }, + "isarray": { + "version": "0.0.1", + "from": "isarray@0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz" + }, + "string_decoder": { + "version": "0.10.31", + "from": "string_decoder@>=0.10.0 <0.11.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz" + }, + "inherits": { + "version": "2.0.1", + "from": "inherits@>=2.0.1 <2.1.0", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz" + } + } + } + } + } + } + }, + "object-assign": { + "version": "2.0.0", + "from": "object-assign@>=2.0.0 <3.0.0", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-2.0.0.tgz" + }, + "replace-ext": { + "version": "0.0.1", + "from": "replace-ext@0.0.1", + "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz" + } + } + }, + "is-glob": { + "version": "1.1.3", + "from": "is-glob@>=1.1.0 <2.0.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-1.1.3.tgz" + }, + "path-is-absolute": { + "version": "1.0.0", + "from": "path-is-absolute@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.0.tgz" + }, + "readable-stream": { + "version": "1.0.33", + "from": "readable-stream@>=1.0.31 <2.0.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.33.tgz", + "dependencies": { + "core-util-is": { + "version": "1.0.1", + "from": "core-util-is@>=1.0.0 <1.1.0", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz" + }, + "isarray": { + "version": "0.0.1", + "from": "isarray@0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz" + }, + "string_decoder": { + "version": "0.10.31", + "from": "string_decoder@>=0.10.0 <0.11.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz" + }, + "inherits": { + "version": "2.0.1", + "from": "inherits@>=2.0.1 <2.1.0", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz" + } + } + }, + "vinyl-file": { + "version": "1.1.1", + "from": "vinyl-file@>=1.1.0 <1.2.0", + "resolved": "https://registry.npmjs.org/vinyl-file/-/vinyl-file-1.1.1.tgz", + "dependencies": { + "graceful-fs": { + "version": "3.0.6", + "from": "graceful-fs@>=3.0.2 <4.0.0", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.6.tgz" + }, + "strip-bom": { + "version": "1.0.0", + "from": "strip-bom@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-1.0.0.tgz", + "dependencies": { + "first-chunk-stream": { + "version": "1.0.0", + "from": "first-chunk-stream@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz" + }, + "is-utf8": { + "version": "0.2.0", + "from": "is-utf8@>=0.2.0 <0.3.0", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.0.tgz" + } + } + } + } + } + } + }, "gulp-webserver": { "version": "0.8.8", "from": "https://registry.npmjs.org/gulp-webserver/-/gulp-webserver-0.8.8.tgz", @@ -12989,29 +13400,29 @@ "dependencies": { "source-map": { "version": "0.4.2", - "from": "https://registry.npmjs.org/source-map/-/source-map-0.4.2.tgz", + "from": "source-map@>=0.4.2 <0.5.0", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.2.tgz", "dependencies": { "amdefine": { "version": "0.1.0", - "from": "https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz", + "from": "amdefine@>=0.0.4", "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz" } } }, "source-map-support": { "version": "0.2.10", - "from": "git://github.com/mprobst/node-source-map-support.git#9766df880690100dc99d244a797e83bd6138d2e4", + "from": "git://github.com/mprobst/node-source-map-support.git", "resolved": "git://github.com/mprobst/node-source-map-support.git#9766df880690100dc99d244a797e83bd6138d2e4", "dependencies": { "source-map": { "version": "0.1.32", - "from": "https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz", + "from": "source-map@0.1.32", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz", "dependencies": { "amdefine": { "version": "0.1.0", - "from": "https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz", + "from": "amdefine@>=0.0.4", "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz" } } @@ -13219,7 +13630,7 @@ }, "mime": { "version": "1.2.11", - "from": "mime@>=1.2.9 <1.3.0", + "from": "mime@>=1.2.11 <1.3.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz" }, "tough-cookie": { @@ -13477,7 +13888,7 @@ }, "mime": { "version": "1.2.11", - "from": "mime@>=1.2.9 <1.3.0", + "from": "mime@>=1.2.11 <1.3.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz" }, "form-data": { @@ -13598,7 +14009,7 @@ }, "node-uuid": { "version": "1.4.3", - "from": "node-uuid@>=1.0.0 <2.0.0", + "from": "node-uuid@>=1.4.0 <1.5.0", "resolved": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.3.tgz" }, "async": { @@ -13627,7 +14038,7 @@ }, "typescript": { "version": "1.5.0-beta", - "from": "https://registry.npmjs.org/typescript/-/typescript-1.5.0-beta.tgz", + "from": "typescript@1.5.0-beta", "resolved": "https://registry.npmjs.org/typescript/-/typescript-1.5.0-beta.tgz" } } @@ -14270,7 +14681,7 @@ }, "zone.js": { "version": "0.4.4", - "from": "zone.js@0.4.4", + "from": "https://registry.npmjs.org/zone.js/-/zone.js-0.4.4.tgz", "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.4.4.tgz" } } diff --git a/package.json b/package.json index 0919a041f0..46fb56eceb 100644 --- a/package.json +++ b/package.json @@ -74,6 +74,7 @@ "gulp-template": "^3.0.0", "gulp-traceur": "0.17.*", "gulp-typescript": "^2.6.0", + "gulp-watch": "^4.2.4", "gulp-webserver": "^0.8.7", "html2jade": "^0.8.3", "indent-string": "^1.2.1",