Skip to content

Commit

Permalink
Fix docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Jul 5, 2024
1 parent 075e1ee commit 64e7e97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
```gradle
apply plugin: 'com.diffplug.webtools.node'
node {
// looks for a `.nvmrc` in this folder or its parent
// downloads the corresponding version of node
// `npm ci`
// looks for an `.nvmrc` in this folder or its parent
// downloads the corresponding version of node `npm ci`
// and then it will run `npm run blah` like so
npm_run 'blah', {
Expand All @@ -24,7 +23,8 @@ node {
## Static Server

```gradle
tasks.register('serve', com.diffplug.webtools.internal.StaticServerTask) {
tasks.register('serve', com.diffplug.webtools.serve.StaticServerTask) {
dir = file('build/static')
port = 8080 // by default
}
```

0 comments on commit 64e7e97

Please sign in to comment.