Skip to content

An Eleventy server plugin to use Browsersync with Eleventy 2.0+.

Notifications You must be signed in to change notification settings

11ty/eleventy-server-browsersync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An Eleventy server plugin to use Browsersync with Eleventy 2.0+.

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published