middlewarehq / middleware

✨ Open-source dev productivity platform for engineering teams ✨
https://middlewarehq.com
Apache License 2.0
388 stars 32 forks source link

run docker compose build before running docker compose watch to sync any local files changes between container restarts #435

Closed adnanhashmi09 closed 1 week ago

adnanhashmi09 commented 1 week ago

Linked Issue(s)

353

This PR fixes the above linked issue. We run docker compose build before starting the docker compose watch which would rebuild the container with local changes.

Steps to check

  1. Run dev.sh to start the dev cli
  2. Make local code changes and check if those has been synced and the changes are reflected in the app
  3. Close the dev cli and then start it again
  4. Check if the local changes are synced