Jody Winter Jeremie Bresson Ralf D. Müller Ralf D. Müller

1 minute to read

Before You Begin

  • If you use WSL to execute this task, you must use the IP V6 address of localhost [::1] to access the server. or localhost will not work.

  • Most site themes don’t need the static site server for general content, you can just preview the site by opening from the file system in your browser. However, some JavaScript features will not work because of CORS restrictions.

About This Task

When you use a build in a static site generator through generateSite, you sometimes need a real locally running static server to preview the results. This task will start a jetty for your generated site.