Closed homosaur closed 3 years ago
Hello @homosaur
Thanks for the PR. looks good to me. Two questions
Browsersync: Connected
). can we remove that? it bit irritating. eleventyConfig.addPassthroughCopy("./src/static/img");
@surjithctly
--no-notify
flag will remove this. Additionally there is a --no-open
flag that will block automatically opening a browser window when Browsersync runs, although personally I'm always doing this anyway, so it saves a click. Specifically, here are the default 11ty options that it uses when running Browsersync. It would be easy to emulate exactly this setup from the CLI tool if desired.Thank you
I have never been able to get passthrough and watch working correctly on Mac, so I moved to call BrowserSync explicitly rather than through Eleventy and simply build the PostCSS file as normal instead of using a tmp directory. This should provide more flexibility later rather than changing the 11ty config everytime you have a new static asset generated.