import { join } from 'path' ; import * as browserSync from 'browser-sync' ; import Config from '../../config' ; export = ( ) => { let coverageFolder = Config . COVERAGE_TS_DIR ; let watchedFiles = [ join ( coverageFolder , '**' ) ] ; browserSync . create ( ) . init ( { server : { baseDir : './' + coverageFolder } , port : Config . COVERAGE_PORT , files : watchedFiles , logFileChanges : false } ) ; } ;