angular-cn/tools/build/jsserve.js
Tobias Bosch 14a7b9f794 fix(jsserve): serve empty favicon to prevent errors in benchmarks
Background: our benchmarks check whether there were errors
in the browser log after they executed.
2015-04-21 11:25:07 -07:00

16 lines
342 B
JavaScript

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