When editing files, be sure to only edit files in the source directory. Your patterns will be built to, and static files copied to, the public directory. Because of this, you should not edit files in the public directory.

Source Directories

Declared in patternlab-config.json. You can change the names therein, but the functionality will remain as follows:

Watching for Source File Changes

Manually building Fepper and refreshing the browser after each change can be cumbersome. The fp and fp restart tasks will launch Fepper with LiveReload to automatically detect file changes and render those changes in the browser.

LiveReload watches for changes in these directories:

In macOS, Linux, and other Unix-like operating systems:

How to Stop the Server

To stop serving and watching files, press ctrl+c on the command line where Fepper is running.