fis-command-release
Advanced tools
Comparing version 0.6.2 to 0.6.3
{ | ||
"name" : "fis-command-release", | ||
"description" : "fis release command.", | ||
"version" : "0.6.2", | ||
"version" : "0.6.3", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
@@ -26,3 +26,3 @@ /* | ||
.watch(root, { | ||
ignored : /[\/\\](?:output\b[^\/\\]*([\/\\]|$)|\.)/i, | ||
ignored : /[\/\\](?:output\b[^\/\\]*([\/\\]|$)|\.|fis-(?:conf|merge)\.json$)/i, | ||
persistent: true | ||
@@ -142,2 +142,14 @@ }) | ||
if(conf){ | ||
var cache = new fis.cache.Cache(conf, 'conf'); | ||
if(!cache.revert()){ | ||
var tmp = fis.compile.setup(options); | ||
fis.cache.clean(tmp); | ||
cache.save(); | ||
} | ||
require(conf); | ||
} else { | ||
fis.log.warning('unable to find fis-conf file [' + filename + ']'); | ||
} | ||
if(options.clean){ | ||
@@ -186,14 +198,2 @@ process.stdout.write('\n δ'.bold.yellow); | ||
if(conf){ | ||
var cache = new fis.cache.Cache(conf, 'conf'); | ||
if(!cache.revert()){ | ||
var tmp = fis.compile.setup(options); | ||
fis.cache.clean(tmp); | ||
cache.save(); | ||
} | ||
require(conf); | ||
} else { | ||
fis.log.warning('unable to find fis-conf file [' + filename + ']'); | ||
} | ||
if(options.watch){ | ||
@@ -200,0 +200,0 @@ watch(options); |
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
12835