Skip to content

Commit 3435296

Browse files
committed
Fix sync_test issue
1 parent ac268f1 commit 3435296

2 files changed

Lines changed: 16 additions & 11 deletions

File tree

docs/docs/cli/up.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,27 @@
22
title: devspace up
33
---
44

5-
With `devspace up`, you build your image, start your DevSpace and connect to it.
5+
With `devspace up`, you build your image, start your DevSpace and connect to it.
66

77
```bash
88
Usage:
99
devspace up [flags]
1010

1111
Flags:
12-
-b, --build Build image if Dockerfile has been modified (default true)
13-
-d, --deploy Deploy chart
14-
-h, --help help for up
15-
--init-registries Initialize registries (and install internal one) (default true)
16-
--no-sleep Enable no-sleep
17-
--portforwarding Enable port forwarding (default true)
18-
-s, --shell string Shell command (default: bash, fallback: sh)
19-
--sync Enable code synchronization (default true)
20-
--tiller Install/upgrade tiller (default true)
12+
-b, --build Build image if Dockerfile has been modified (default true)
13+
-c, --container string Container name where to open the shell
14+
-d, --deploy Deploy chart
15+
-h, --help help for up
16+
--init-registries Initialize registries (and install internal one) (default true)
17+
--no-sleep Enable no-sleep
18+
--portforwarding Enable port forwarding (default true)
19+
--sync Enable code synchronization (default true)
20+
--tiller Install/upgrade tiller (default true)
21+
--verbose-sync When enabled the sync will log every file change
22+
23+
Examples:
24+
devspace up # Start the devspace
25+
devspace up bash # Execute bash command
2126
```
2227
2328
**Note**: Every time you run `devspace up`, your containers will be re-deployed. This way, you will always start with a clean state.

pkg/devspace/sync/sync_config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ func createTestSyncClient(testLocalPath, testRemotePath string) *SyncConfig {
5656
return &SyncConfig{
5757
WatchPath: testLocalPath,
5858
DestPath: testRemotePath,
59+
Verbose: true,
5960

6061
testing: true,
61-
verbose: true,
6262
}
6363
}
6464

0 commit comments

Comments
 (0)