Skip to content

Commit cfe2c52

Browse files
committed
chore: run zcli themes:preview as part of 'yarn start'
1 parent e7817a8 commit cfe2c52

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
"version": "1.0.0",
44
"repository": "git@github.com:zendesk/copenhagen_theme.git",
55
"scripts": {
6-
"start": "rollup -c -w",
6+
"start": "concurrently -k -r 'rollup -c -w' 'wait-on script.js style.css && zcli themes:preview'",
77
"build": "rollup -c",
88
"eslint": "eslint src",
99
"prepare": "husky install",
1010
"download-locales": "node ./bin/update-translations",
11-
"test-a11y": "node bin/lighthouse/index.js"
11+
"test-a11y": "node bin/lighthouse/index.js",
12+
"zcli": "zcli"
1213
},
1314
"dependencies": {
1415
"node-fetch": "2.6.9"

rollup.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ export default {
77
format: "iife",
88
},
99
plugins: [zass()],
10+
watch: {
11+
clearScreen: false,
12+
},
1013
};

0 commit comments

Comments
 (0)