previewSite

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

1 minute to read

About This Task

Note

This task has now been deprecated.

When you use a build in a static site generator through generateSite, 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. In that case you need a server. You can start one by running e.g. python -m http.server or in case you have Python 3 python3 -m http.server.