Skip to content
This repository was archived by the owner on Dec 11, 2021. It is now read-only.

Commit 7e4ad28

Browse files
lopez-alexsfrisk
authored andcommitted
README: Add Grunt Watch task to the README
Fixes gh-131 Closes gh-132
1 parent fa4854d commit 7e4ad28

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,19 @@ If you maintain a JavaScript library that has UI components, we'd love for you t
2222
### Building
2323

2424
Once you've cloned Chassis to your machine, run these commands:
25-
```
25+
```bash
2626
$ npm install
2727
$ grunt build
2828
```
2929

30+
### Develop
31+
32+
To automate the build process during development, run the `grunt watch` task to compile SCSS upon file change.
33+
34+
```bash
35+
$ grunt watch
36+
```
37+
3038
### Performance testing
3139

3240
#### Setup
@@ -38,7 +46,7 @@ $ grunt build
3846
#### Running the tests
3947

4048
Once you have completed the setup run this:
41-
```
49+
```bash
4250
$ grunt perf
4351
```
4452

@@ -49,8 +57,7 @@ Once the tests completed, [view the results](http://localhost:5984/css-performan
4957
#### Viewing the test pages
5058

5159
Follow the steps above to build. Once that is complete run this:
52-
```
60+
```bash
5361
$ grunt connect:dev
5462
```
5563
This will start a connect server that will run until you stop it (`Ctrl+C`). Then go to http://localhost:4200/framework/{framework name}/component/{component name}/count/{ # of components to render}/ and you can see the generated test page.
56-

0 commit comments

Comments
 (0)