bref icon indicating copy to clipboard operation
bref copied to clipboard

Brefv2: application not getting refreshed in local development setup

Open JakubPat opened this issue 2 years ago • 1 comments

Description: Hi, we recently switched for bref 2 running on symfony. The way that we used to develop locally while on bref v1 on every change of the code, application refreshed within deployed docker container. But currently even after clearing cache no change gets applied until tearing down container.

Below it's our docker config: FROM bref/php-80-fpm-dev:2 COPY --from=bref/extra-gd-php-80:1 /opt /opt

version: "3.5"

services:
  php:
    ports:
      - '8000:8000'
    build:
        context: .
        dockerfile: docker/Dockerfile-phpFpm
    volumes:
      - .:/var/task:ro
    environment:
      BREF_BINARY_RESPONSES: '1'
      HANDLER: public/index.php
    networks:
      - local-network

How to reproduce:

JakubPat avatar Jun 16 '23 12:06 JakubPat

Hi, I don't see an obvious reason why that would happen.

I'd suggest investigating if there's anything exotic in your config, or maybe creating the smallest reproducible example possible?

mnapoli avatar Jun 16 '23 12:06 mnapoli

Closing because it cannot be reproduced.

mnapoli avatar Mar 19 '24 14:03 mnapoli