Skip to content

Commit 64117e2

Browse files
committed
adding start command
1 parent b1baa6c commit 64117e2

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ After installing and committing, others cloning the repo need to run `composer i
2020

2121
These are some helpful commands you can use on the command line for working with Pattern Lab.
2222

23+
### One line start
24+
25+
This will compile PL and watch for changes while running the local server:
26+
27+
composer run-script start
28+
2329
### Generate Pattern Lab
2430

2531
To generate the front-end for Pattern Lab type:

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
"email": "dmolsen@gmail.com",
1212
"homepage": "http://dmolsen.com",
1313
"role": "Lead Developer"
14+
},
15+
{
16+
"name": "Evan Lovely",
17+
"homepage": "http://evanlovely.com",
18+
"role": "Developer"
1419
}
1520
],
1621
"support": {
@@ -37,7 +42,7 @@
3742
"server": "php core/console --server",
3843
"generate": "php core/console --generate",
3944
"watch": "php core/console --watch",
40-
"start": "php core/console --server & php core/console --watch",
45+
"start": "php core/console --server --quiet & php core/console --watch",
4146
"post-install-cmd": [
4247
"PatternLab\\Installer::postInstallCmd"
4348
],

0 commit comments

Comments
 (0)