You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pages/configuration/dev/connections/file-sync.mdx
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,6 +140,25 @@ This option is often useful if you want to download a dependency folder (e.g. `n
140
140
:::
141
141
142
142
143
+
## Start sync log
144
+
By default the sync log is disabled but it can be enabled with option `printLogs: true`.
145
+
146
+
```yaml {11-13}
147
+
deployments:
148
+
app-backend:
149
+
helm:
150
+
values:
151
+
containers:
152
+
- image: ghcr.io/org/project/image
153
+
154
+
dev:
155
+
my-dev:
156
+
imageSelector: ghcr.io/org/project/image
157
+
sync:
158
+
- path: ./
159
+
printLogs: true
160
+
```
161
+
143
162
## Sync-Triggered Actions
144
163
Sometimes it is useful to execute commands after the sync uploads files/directories between the local filesystem and the container.
145
164
@@ -409,7 +428,6 @@ Polling might increase CPU consumption of the container drastically, depending o
409
428
If the `noWatch` option is specified, DevSpace will stop syncing after initially comparing and resolving differences. This is useful if you want a one-time sync, but then continue doing other steps in your pipeline.
0 commit comments