Background: our benchmarks check whether there were errors in the browser log after they executed.
		
			
				
	
	
		
			16 lines
		
	
	
		
			342 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			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()
 | 
						|
        ]
 | 
						|
      }
 | 
						|
    })();
 | 
						|
  };
 | 
						|
};
 |