From fb46d59140f64bfa03cc1066125c3b86a60973f5 Mon Sep 17 00:00:00 2001 From: Pranay Sanghvi Date: Thu, 20 Aug 2026 18:22:07 +0530 Subject: [PATCH] Add Epinio sync config for app watch Add .epinio-sync.yaml so `epinio app watch` can sync local source changes into the running app container. The config targets /workspace/source/app, matching the default Paketo buildpack layout and enabling file-based live reload for the Ruby/Sinatra app. --- .epinio-sync.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .epinio-sync.yaml diff --git a/.epinio-sync.yaml b/.epinio-sync.yaml new file mode 100644 index 0000000..a8da83c --- /dev/null +++ b/.epinio-sync.yaml @@ -0,0 +1,16 @@ +# .epinio-sync.yaml +# app watch reads this file to decide how to sync local changes into the running pod. +# +# Run (app must already be pushed): +# epinio app watch example-12factor --path . +# +# Ruby/Sinatra is interpreted, so this app uses files mode. +# Do not set build_cmd or binary — those fields switch watch to binary mode +# (used for compiled languages like Go or Java). +# +# On every save, watch uploads only the changed files into the pod and the +# supervisor restarts the process so the new source is picked up. + +# Directory inside the pod where source files are written. +# This matches the default Paketo / Cloud Native Buildpacks layout. +files_dest: "/workspace/source/app"