angular-cn/tools/build/jsserve.js

11 lines
235 B
JavaScript

module.exports = function(gulp, plugins, config) {
return function() {
plugins.connect.server({
root: [__dirname+'/../../'+config.path],
port: config.port,
livereload: false,
open: false
})();
};
};