Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.3 KB

README.md

File metadata and controls

42 lines (31 loc) · 1.3 KB

11ty Logo

eleventy-server-browsersync 🕚⚡️🎈🐀

A server plugin to use Browsersync with Eleventy 2.0+.

npm Version

Installation

npm install @11ty/eleventy-server-browsersync
module.exports = function(eleventyConfig) {
  eleventyConfig.setServerOptions({
    module: "@11ty/eleventy-server-browsersync",

    // Default options shown:
    port: 8080,
    ignore: ["node_modules"],
    watch: false,
    open: false,
    notify: false,
    ui: false,
    ghostMode: false,
    index: "index.html",
  })
};

View the full list of Browsersync options.