You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+7-34Lines changed: 7 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -150,45 +150,18 @@ grunt
150
150
The karma task will try to open Firefox and Chrome as browser in which to run the tests. Make sure this is available or change the configuration in `test\karma.conf.js`
151
151
152
152
153
-
### Watch
153
+
### Grunt Serve
154
154
155
-
You can watch files change for your tests with
155
+
We have one task to serve them all !
156
156
157
157
```sh
158
-
grunt watch
158
+
grunt serve
159
159
```
160
160
161
-
Make sure to have a Karma server available with it.
161
+
It's equal to run separately:
162
162
163
+
*`grunt connect:server` : giving you a development server at [http://127.0.0.1:8000/](http://127.0.0.1:8000/).
163
164
164
-
```sh
165
-
grunt server
166
-
```
167
-
168
-
(you can force a test on this server with `grunt karma:unit:run`)
169
-
170
-
171
-
### Local Doc
172
-
173
-
The documentation is generated by bower and grunt. To build it run :
174
-
175
-
```sh
176
-
grunt build-doc
177
-
```
165
+
*`grunt karma:server` : giving you a Karma server to run tests (at [http://localhost:9876/](http://localhost:9876/) by default). You can force a test on this server with `grunt karma:unit:run`.
178
166
179
-
And then, launch a built-in web server on the angular-ui-docs bower module
180
-
181
-
```sh
182
-
cd bower_components/angular-ui-docs/
183
-
php -S localhost:8000
184
-
or
185
-
python -m SimpleHTTPServer
186
-
```
187
-
188
-
Then check your [http://localhost:8000/](http://localhost:8000/)
0 commit comments