import browserSync from 'browser-sync';
import paths from '../mconfig.json';

export const server = browserSync.create();

function serve(done) {
    server.init({
        notify: false,
        proxy: paths.url,
        host: paths.url,
        open: 'external'
    });
    done();
}

export default serve;

import browserSync from 'browser-sync';
import paths from '../mconfig.json';

export const server = browserSync.create();

function serve(done) {
    server.init({
        notify: false,
        proxy: paths.url,
        host: paths.url,
        open: false,
        ghostMode: false
    });
    done();
}

export default serve;

Remove browser-sync new window & ghostMode
Remove browser-sync new window & ghostMode
