Skip to content

Commit 64e7e97

Browse files
committed
Fix docs.
1 parent 075e1ee commit 64e7e97

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
```gradle
99
apply plugin: 'com.diffplug.webtools.node'
1010
node {
11-
// looks for a `.nvmrc` in this folder or its parent
12-
// downloads the corresponding version of node
13-
// `npm ci`
11+
// looks for an `.nvmrc` in this folder or its parent
12+
// downloads the corresponding version of node `npm ci`
1413
1514
// and then it will run `npm run blah` like so
1615
npm_run 'blah', {
@@ -24,7 +23,8 @@ node {
2423
## Static Server
2524

2625
```gradle
27-
tasks.register('serve', com.diffplug.webtools.internal.StaticServerTask) {
26+
tasks.register('serve', com.diffplug.webtools.serve.StaticServerTask) {
2827
dir = file('build/static')
28+
port = 8080 // by default
2929
}
3030
```

0 commit comments

Comments
 (0)