fis-command-release
Advanced tools
Comparing version 0.11.9 to 0.12.0
{ | ||
"name": "fis-command-release", | ||
"description": "fis release command.", | ||
"version": "0.11.9", | ||
"version": "0.12.0", | ||
"author": "FIS Team <fis@baidu.com>", | ||
@@ -23,3 +23,3 @@ "homepage": "http://fis.baidu.com/", | ||
"async": "0.9.0", | ||
"chokidar": "0.12.5", | ||
"chokidar": "1.0.3", | ||
"livereload-server-spec": "0.2.3" | ||
@@ -26,0 +26,0 @@ }, |
@@ -18,2 +18,4 @@ /* | ||
opt.srcCache = fis.project.getSource(); | ||
// first compile | ||
release(opt); | ||
function listener(type){ | ||
@@ -49,12 +51,19 @@ return function (path) { | ||
ignored : function(path) { | ||
var adjustPath = fis.util(path).replace(fis.project.getProjectPath(), ''); | ||
if (adjustPath == '') return false; // if path == project.root | ||
// first chokidar emit add event | ||
if (adjustPath[0] != '/') adjustPath = '/' + adjustPath; | ||
var include = fis.config.get('project.include'); | ||
var exclude = fis.config.get('project.exclude'); | ||
if (!fis.util.filter(adjustPath, include, exclude)) { | ||
return true; | ||
} | ||
var ignored = ignoredReg.test(adjustPath); | ||
if (fis.config.get('project.watch.exclude')){ | ||
ignored = ignored || | ||
fis.util.filter(adjustPath, fis.config.get('project.watch.exclude')) || | ||
fis.util.filter(adjustPath, fis.config.get('project.exclude')); | ||
fis.util.filter(adjustPath, fis.config.get('project.watch.exclude')); | ||
} | ||
@@ -65,3 +74,4 @@ | ||
usePolling: fis.config.get('project.watch.usePolling', null), | ||
persistent: true | ||
persistent: true, | ||
ignoreInitial: true | ||
}) | ||
@@ -68,0 +78,0 @@ .on('add', listener('add')) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59221
1557
+ Addedanymatch@1.3.2(transitive)
+ Addedarr-diff@2.0.0(transitive)
+ Addedarr-flatten@1.1.0(transitive)
+ Addedarray-unique@0.2.1(transitive)
+ Addedarrify@1.0.1(transitive)
+ Addedbinary-extensions@1.13.1(transitive)
+ Addedbraces@1.8.5(transitive)
+ Addedchokidar@1.0.3(transitive)
+ Addedexpand-brackets@0.1.5(transitive)
+ Addedexpand-range@1.8.2(transitive)
+ Addedextglob@0.3.2(transitive)
+ Addedfilename-regex@2.0.1(transitive)
+ Addedfill-range@2.2.4(transitive)
+ Addedfor-in@1.0.2(transitive)
+ Addedfor-own@0.1.5(transitive)
+ Addedglob-base@0.3.0(transitive)
+ Addedglob-parent@1.3.02.0.0(transitive)
+ Addedgraceful-fs@4.1.15(transitive)
+ Addedis-binary-path@1.0.1(transitive)
+ Addedis-buffer@1.1.6(transitive)
+ Addedis-dotfile@1.0.3(transitive)
+ Addedis-equal-shallow@0.1.3(transitive)
+ Addedis-extendable@0.1.1(transitive)
+ Addedis-extglob@1.0.0(transitive)
+ Addedis-glob@1.1.32.0.1(transitive)
+ Addedis-number@2.1.04.0.0(transitive)
+ Addedis-posix-bracket@0.1.1(transitive)
+ Addedis-primitive@2.0.0(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedisobject@2.1.0(transitive)
+ Addedkind-of@3.2.26.0.3(transitive)
+ Addedmath-random@1.0.4(transitive)
+ Addedmicromatch@2.3.11(transitive)
+ Addednormalize-path@2.1.1(transitive)
+ Addedobject.omit@2.0.1(transitive)
+ Addedparse-glob@3.0.4(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedpreserve@0.2.0(transitive)
+ Addedrandomatic@3.1.1(transitive)
+ Addedreaddirp@1.4.0(transitive)
+ Addedregex-cache@0.4.4(transitive)
+ Addedremove-trailing-separator@1.1.0(transitive)
+ Addedrepeat-element@1.1.4(transitive)
+ Addedrepeat-string@1.6.1(transitive)
- Removedchokidar@0.12.5(transitive)
- Removedgraceful-fs@2.0.3(transitive)
- Removedreaddirp@1.3.0(transitive)
Updatedchokidar@1.0.3