Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
feloy committed Apr 29, 2022
1 parent a649562 commit 882b584
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/website/versioned_docs/version-3.0.0/command-reference/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,3 +226,25 @@ components:
memoryLimit: 1024Mi
mountSources: true
```
### State file
When the command `odo dev` is executed, the state of the command isa saved in the file `./.odo/state.json`.
This state file contains the PID of the `odo dev` running process (`0` if no command is running), the timestamp
at which the state has been last saved, and the currently forwarded ports.
```
{
"timestamp": 1651247240,
"pid": 154474,
"forwardedPorts": [
{
"containerName": "runtime",
"localAddress": "127.0.0.1",
"localPort": 40001,
"containerPort": 3000
}
]
}
```

0 comments on commit 882b584

Please sign in to comment.