Restart does a Stop() and a Start
()
| 2203 | |
| 2204 | // Restart does a Stop() and a Start |
| 2205 | func (app *DdevApp) Restart() error { |
| 2206 | err := app.Stop(false, false) |
| 2207 | if err != nil { |
| 2208 | return err |
| 2209 | } |
| 2210 | err = app.Start() |
| 2211 | return err |
| 2212 | } |
| 2213 | |
| 2214 | // PullBaseContainerImages pulls only the fundamentally needed images so they can be available early. |
| 2215 | // We always need web image, and ddev-utilities for housekeeping. |