gulpfile.js
This commit is contained in:
parent
f0e3ca9410
commit
1be5c8c23b
@ -474,6 +474,10 @@ request.post('/api').form({key:'value'}), function(err,httpResponse,body){ /* ..
|
||||
更新说明
|
||||
--------
|
||||
|
||||
*v0.0.9_1 2017年03月30日15:51:03*
|
||||
|
||||
1. 完善了gulpfile.js,不是重要的更新。
|
||||
|
||||
*v0.0.9 2017年03月27日17:25:58*
|
||||
|
||||
1. 修改了`src/controllers/upload.js`文件,添加了上传文件示例代码。
|
||||
|
@ -4,7 +4,7 @@ const nodemon = require('gulp-nodemon')
|
||||
const friendlyFormatter = require('eslint-friendly-formatter')
|
||||
|
||||
var jsScript = 'node'
|
||||
if (process.env.npm_config_argv.indexOf('debug') > 0) {
|
||||
if (process.env.npm_config_argv !== undefined && process.env.npm_config_argv.indexOf('debug') > 0) {
|
||||
jsScript = 'node debug'
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user