Merge branch '3.0' of github.com:thinkjs/thinkjs into 3.0

This commit is contained in:
welefen 2017-03-30 19:26:59 +08:00
commit cfe910faab

View File

@ -44,7 +44,7 @@ module.exports = class Application {
* watcher callback
*/
_watcherCallBack(fileInfo){
const transpiler = this.options.transpiler;
let transpiler = this.options.transpiler;
if(transpiler){
if(!helper.isArray(transpiler)){
transpiler = [transpiler];