adding start script for watch and serve

This commit is contained in:
Evan Lovely 2016-05-26 16:39:42 -07:00
parent 4b6b69f246
commit 1abcd9a645
2 changed files with 7 additions and 0 deletions

View File

@ -50,6 +50,12 @@ To update Pattern Lab please refer to each component's GitHub repository. The co
These are some helpful commands you can use on the command line for working with Pattern Lab.
### One line start
This will compile PL and watch for changes while running the local server:
composer run-script start
### List all of the available commands
To list all available commands type:

View File

@ -30,6 +30,7 @@
"pattern-lab/styleguidekit-twig-default": "^2.0.0"
},
"scripts": {
"start": "php core/console --server --quiet & php core/console --watch",
"post-install-cmd": [
"PatternLab\\Installer::postInstallCmd"
],