Skip to content

Commit

Permalink
Update docs/contributors/demo-page-css.md
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Bouffard <[email protected]>
  • Loading branch information
aibcmars and tbouffard committed Dec 9, 2020
1 parent f5cce56 commit eea495d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/contributors/demo-page-css.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ feel free to preview config files:
- [postcss.config.js](postcss.config.js)
- [tailwind.config.js](tailwind.config.js)

rollup build is updated to handle livereload, there are 2 scripts in [package.json](package.json) that permits that: \
1. Build the output tailwind.css file. \
```"demo:css": "postcss src/static/css/styles.css -o src/static/css/tailwind.css"```
The Rollup build is updated to handle livereload, there are 2 scripts in [package.json](../../package.json) that permits that: \
1. Build the output tailwind.css file: `demo:css`

2. Watch for the changes in html and styles.css. \
```"watch:css": "chokidar \"src/static/css/styles.css\" \"src/*.html\" --command \"npm run demo:css\" --verbose"```
2. Watch for the changes in html and styles.css. `watch:css`

0 comments on commit eea495d

Please sign in to comment.