File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
examples/cli/watch-static Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
- # CLI: Watch Content Base
1
+ # CLI: Static
2
2
3
3
## Watching a single directory
4
4
@@ -29,6 +29,12 @@ module.exports = {
29
29
npm run webpack-dev-server -- --open
30
30
```
31
31
32
+ or via CLI only:
33
+
34
+ ``` console
35
+ npm run webpack-dev-server -- --static assets --static css --open
36
+ ```
37
+
32
38
### What Should Happen
33
39
34
40
1 . The script should open ` http://localhost:8080/ ` in your default browser.
Original file line number Diff line number Diff line change 4
4
< link rel ="stylesheet " href ="styles.css " type ="text/css " charset ="utf-8 ">
5
5
</ head >
6
6
< body >
7
- < h1 > Watch content base </ h1 >
7
+ < h1 > Static </ h1 >
8
8
< div id ="mytext "> </ div >
9
9
< script src ="bundle.js " type ="text/javascript " charset ="utf-8 "> </ script >
10
10
</ body >
You can’t perform that action at this time.
0 commit comments