Set task as asynchronous only when building to

file(due to browserify)
release 1.4.3