2014-12-05 19:26:30 -05:00
|
|
|
module.exports = function(gulp, plugins, config) {
|
|
|
|
return function() {
|
|
|
|
plugins.connect.server({
|
|
|
|
root: [__dirname+'/../../'+config.path],
|
2014-12-22 20:50:10 -05:00
|
|
|
port: config.port,
|
2014-12-05 19:26:30 -05:00
|
|
|
livereload: false,
|
2015-04-21 13:09:58 -04:00
|
|
|
open: false,
|
|
|
|
middleware: function(connect, opt) {
|
|
|
|
return [
|
|
|
|
connect.favicon()
|
|
|
|
]
|
|
|
|
}
|
2014-12-05 19:26:30 -05:00
|
|
|
})();
|
|
|
|
};
|
|
|
|
};
|