CompileDaemon icon indicating copy to clipboard operation
CompileDaemon copied to clipboard

Docker MacOS no rebuilding even with pulling on

Open RenatoCesarF opened this issue 2 years ago • 2 comments

Hi, I'm trying to use CompileDaemon with Docker, but it is not recompiling when saving files, it works locally, but not in the docker container. I'm in MacOS and this is my docker file:


FROM golang:1.20.3

# Define o diretório de trabalho como /app
WORKDIR /app

# Copia o conteúdo do diretório atual para o /app do container
COPY . .

RUN apt-get install git

COPY go.mod .
COPY go.sum .

RUN go mod download

# Instala o CompileDaemon
RUN go install github.com/githubnemo/CompileDaemon@latest

# Compila o programa
RUN go build -o main .

# Substitui o comando CMD pelo comando do CompileDaemon -log-prefix=false
CMD CompileDaemon -build="go build -o main ." -command="./main" -polling=true

EXPOSE 8080

RenatoCesarF avatar Apr 25 '23 17:04 RenatoCesarF

image

For some reason, I faced this and by not using gRPC FUSE, things work again, anyone able to provide insights on this?

brendansiow avatar Jul 16 '23 09:07 brendansiow

image For some reason, I faced this and by not using gRPC FUSE, things work again, anyone able to provide insights on this?

Where is this configuration?

RenatoCesarF avatar Oct 26 '23 19:10 RenatoCesarF