Skip to content

Commit

Permalink
Fix command in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
GRA0007 committed May 22, 2022
1 parent b3f0909 commit 1d7bdaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ If you have a deployment that will need to start and stop your Epoxy server ofte
// package.json
{
"scripts": {
"build": "epoxy ./routes.js",
"build": "epoxy build ./routes.js",
"serve": "epoxy ./dist ./dist/routes.js"
}
}
```

Alternatively, you could also write your routes file in CommonJS so it doesn't require building.
Alternatively, you could also write your routes file in CommonJS so it doesn't require building; the `epoxy serve` command only build if the flag `--build` is specified.

## API

Expand Down

0 comments on commit 1d7bdaa

Please sign in to comment.