I've setup the following service in my docker-compose.yml file:
version: "3.3" services: test: build: . command: bundle exec guard --no-bundler-warning --no-interactions tty: true volumes: *volumes environment: DATABASE_URL: mysql2://root:root@database:3306/my-rails-app DATABASE_CLEANER_ALLOW_REMOTE_DATABASE_URL: 1 RAILS_ENV: test depends_on: - database
But it's not working properly - when I use
docker-compose up, it's going to create the container and run the tests, but the watch won't be triggered when I change a file in my host. Does anyone know why? The config seems pretty ok to me.