gulpfile.js

This commit is contained in:
wy373226722 2017-03-30 15:51:52 +08:00
parent f0e3ca9410
commit 1be5c8c23b
2 changed files with 5 additions and 1 deletions

View File

@ -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* *v0.0.9 2017年03月27日17:25:58*
1. 修改了`src/controllers/upload.js`文件,添加了上传文件示例代码。 1. 修改了`src/controllers/upload.js`文件,添加了上传文件示例代码。

View File

@ -4,7 +4,7 @@ const nodemon = require('gulp-nodemon')
const friendlyFormatter = require('eslint-friendly-formatter') const friendlyFormatter = require('eslint-friendly-formatter')
var jsScript = 'node' 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' jsScript = 'node debug'
} }