Skip to content

BrowserSync serve baseDir #18

@maikeldaloo

Description

@maikeldaloo

Hello,

Nice work on Pudl :) I was just trying it out and found 1 simple bug:

I set it up so that I have a src and a dist directory. I got the files to compile to the correct directories by changing config.js, but the only thing missing was that browserSync would serve from the root directory. I had to manually go into gulpfile.js and update the config with:

// Instead of:
server: true,

// I used:
server: {
  baseDir: "./dist/"
}

I guess this could be easily fixed by adding an option to config.js to allow users to change the serve directory.

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