Metaphor Documentation
Make sure you meet the following dependencies and install them in the following order.
$ npm install
Once you have the dependencies installed, simply issue one of the following commands in your terminal, note that in both cases the --pretty=false
flag is given to avoid Jigsaw's default behavior:
...to serve the application with the built-in PHP server:
$ jigsaw build --pretty=false
$ jigsaw serve
...to avoid typing the commands above over and over, simply type the following commands:
$ jigsaw build --pretty=false
$ gulp watch
The added benefit of this method is that your changes are re-compiled on save.
Note: If the config file is updated or you're not seeing your changes, killing gulp and re-running $ jigsaw build --pretty=false
and $ gulp watch
fixes this issue.