Skip to content

Commit 2752868

Browse files
committed
Add npm link to the README
1 parent 3a68748 commit 2752868

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@ Matrix client.
1818
Using the example app for development
1919
=====================================
2020

21-
The above commands will let you start working on the app, and any changes you
22-
make to the javascript source files will cause the javascript to be rebuilt
23-
automatically, but the same will not apply for the CSS.
21+
To work on the CSS and Javascript and have the bundle files update as you
22+
change the source files, you'll need to do two extra things:
2423

25-
To have the CSS bundle also rebuild as you change it:
26-
27-
1. `cd matrix-react-sdk`
28-
2. `npm run start:css`
24+
1. Link the react sdk package into the example:
25+
`cd matrix-react-sdk/example; npm link ..`
26+
2. Start a watcher for the CSS files:
27+
`cd matrix-react-sdk; npm run start:css`
2928

3029
Note that you may need to restart the CSS builder if you add a new file. Note
3130
that `npm start` builds debug versions of the the javascript and CSS, which are

0 commit comments

Comments
 (0)