We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 075e1ee commit 64e7e97Copy full SHA for 64e7e97
README.md
@@ -8,9 +8,8 @@
8
```gradle
9
apply plugin: 'com.diffplug.webtools.node'
10
node {
11
- // looks for a `.nvmrc` in this folder or its parent
12
- // downloads the corresponding version of node
13
- // `npm ci`
+ // looks for an `.nvmrc` in this folder or its parent
+ // downloads the corresponding version of node `npm ci`
14
15
// and then it will run `npm run blah` like so
16
npm_run 'blah', {
@@ -24,7 +23,8 @@ node {
24
23
## Static Server
25
26
27
-tasks.register('serve', com.diffplug.webtools.internal.StaticServerTask) {
+tasks.register('serve', com.diffplug.webtools.serve.StaticServerTask) {
28
dir = file('build/static')
+ port = 8080 // by default
29
}
30
```
0 commit comments