Skip to content

Running multiple apps and Browsersync #21

@Deviad

Description

@Deviad

Hello,
in order to run multiple apps I added some lines in my file gulpfile.js


var browserSync = require("browser-sync").create();

gulp.task('browser-sync', function() {
    browserSync.init({
        server: {
            baseDir: "./"
        },
        ui: {
            port: 8080
        }

    });
});

Now I have two tries to run BrowserSync when I execute npm run start
The first statement (located in a place unknown to me) halts (this is the one coming by default when you download this boilerplate package) and the second that I can read in the logs, that uses the options passed through gulpfile.js, works and starts node.
Where is this statement located by default in the boilerplate package?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions