Skip to content

Hot reload does not detect changes #215

@vcraescu

Description

@vcraescu

Hi,

I'm using a docker image to fire up aah framework https://hub.docker.com/_/golang/ but hot reload not always detect the changes. This is my Dockerfile:

FROM golang:1.11

RUN go get -u aahframework.org/tools.v0/aah

WORKDIR /go/src/github.com/foobar/foobar
COPY . .

RUN go get -d -v ./...
RUN go install -v ./... || true

CMD ["aah", "run"]

This is very frustrating and I can't figure out why is that happening.
Makes developing a cumbersome especially when I do some refactoring cause I don't know If I did broke something or just the old code running. I have to restart the container from time to time to be sure I'm running the latest changes.

I'm using aah version 0.11 on a Linux machine:

Client:
 Version:           18.06.1-ce
 API version:       1.38
 Go version:        go1.11
 Git commit:        e68fc7a215
 Built:             Fri Sep  7 11:26:59 2018
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.06.1-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.11
  Git commit:       e68fc7a215
  Built:            Fri Sep  7 11:26:11 2018
  OS/Arch:          linux/amd64
  Experimental:     false

Thanks!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions