bibendi / dip

The dip is a CLI dev–tool that provides native-like interaction with a Dockerized application.
MIT License
1.26k stars 44 forks source link

Feature: Working with compose watch mode #172

Open ryands17 opened 3 months ago

ryands17 commented 3 months ago

Docker compose recently introduced a docker compose up --watch mode that provides more granularity on which files to watch on, which is better than volumes. Would it be possible to integrate this into dip?

bibendi commented 3 months ago

Hi! I think you can use it right away by running a dip compose up --watch. Or did I miss something?

ryands17 commented 3 months ago

@bibendi Do I need to sync node_modules from the container to the host for module autocompletion as well in that case?

bibendi commented 3 months ago

Sorry, I didn't use the --watch option. And it seems it doesn't work with the docker compose run mode. So it doesn't look usefull for me.