mirror of
				https://github.com/fooflington/selfdefined.git
				synced 2025-11-04 07:39:03 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			348 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			348 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/**
 | 
						|
 * Require Browsersync
 | 
						|
 */
 | 
						|
var browserSync = require('browser-sync').create();
 | 
						|
var historyApiFallback = require('connect-history-api-fallback')
 | 
						|
 | 
						|
/**
 | 
						|
 * Run Browsersync with server config
 | 
						|
 */
 | 
						|
browserSync.init({
 | 
						|
    server: "app",
 | 
						|
    files: ["app/*.html", "app/css/*.css"],
 | 
						|
    middleware: [require("connect-logger")(), historyApiFallback()]
 | 
						|
}); |