Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BrowserSync serve baseDir #18

Open
maikeldaloo opened this issue Sep 24, 2019 · 0 comments
Open

BrowserSync serve baseDir #18

maikeldaloo opened this issue Sep 24, 2019 · 0 comments

Comments

@maikeldaloo
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant