1
0
Fork 0

change --no-static-server to no-static-server

This commit is contained in:
WEBXOSS 2017-03-05 16:36:24 +08:00
parent 4e7668b964
commit 7351f14516

View file

@ -43,7 +43,7 @@ if (global.window) {
}
} else {
var noStaticServe = process.argv.slice(2).some(function (arg) {
return arg === '--no-static-server';
return arg === 'no-static-server';
});
// static server
if (!noStaticServe) {