Skip to content

Commit

Permalink
promote serve up a level
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Aug 30, 2024
1 parent 66132b8 commit 94cde8a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/guide/devtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ For instance, the following will run the `textual colors` command:
textual run -c textual colors
```

### Serve
## Serve

The devtools can also serve your application in a browser.
Effectively turning your terminal app in to a web application!
Expand Down Expand Up @@ -92,6 +92,12 @@ You can serve multiple instances of your application at once!
Textual serve is also useful when developing your app.
If you make changes to your code, simply refresh the browser to update.

There are some additional switches for serving Textual apps. Run the following for a list:

```
textual serve -h
```

## Live editing

If you combine the `run` command with the `--dev` switch your app will run in *development mode*.
Expand Down

0 comments on commit 94cde8a

Please sign in to comment.