mirror of
https://github.com/pattern-lab/edition-php-twig-standard.git
synced 2025-01-17 12:38:23 +01:00
adding start script for watch and serve
This commit is contained in:
parent
4b6b69f246
commit
1abcd9a645
@ -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:
|
||||
|
@ -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"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user