Phong Duong


Reload Eleventy when you save files

09-10-2020 | #eleventy

When you start your site with npx @11ty/eleventy command, you pass --serve option to reload your site when files change. It will start Browsersync web server to apply your changes and reload automatically

npx @11ty/eleventy --serve

Note: Browsersync requires body tag to work properly

Share: TwitterFacebookLinkedInHacker News