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 May 25, 2019. 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
@@ -98,45 +98,18 @@ grunt
98
98
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`
99
99
100
100
101
-
### Watch
101
+
### Grunt Serve
102
102
103
-
You can watch files change for your tests with
103
+
We have one task to serve them all !
104
104
105
105
```sh
106
-
grunt watch
106
+
grunt serve
107
107
```
108
108
109
-
Make sure to have a Karma server available with it.
109
+
It's equal to run separately:
110
110
111
+
*`grunt connect:server` : giving you a development server at [http://127.0.0.1:8000/](http://127.0.0.1:8000/).
111
112
112
-
```sh
113
-
grunt server
114
-
```
115
-
116
-
(you can force a test on this server with `grunt karma:unit:run`)
117
-
118
-
119
-
### Local Doc
120
-
121
-
The documentation is generated by bower and grunt. To build it run :
122
-
123
-
```sh
124
-
grunt build-doc
125
-
```
113
+
*`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`.
126
114
127
-
And then, launch a built-in web server on the angular-ui-docs bower module
128
-
129
-
```sh
130
-
cd bower_components/angular-ui-docs/
131
-
php -S localhost:8000
132
-
or
133
-
python -m SimpleHTTPServer
134
-
```
135
-
136
-
Then check your [http://localhost:8000/](http://localhost:8000/)
0 commit comments