Skip to content

Commit

Permalink
update test files
Browse files Browse the repository at this point in the history
  • Loading branch information
tikiatua committed Feb 16, 2022
1 parent a0b08b7 commit 3a2f11a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
7 changes: 4 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 17,7 @@ version: '3'
services:
api:
image: dkfbasel/hot-reload-go:1.16.2
image: dkfbasel/hot-reload-go:1.17.7
ports:
- "3001:80"
volumes:
Expand All @@ -35,7 35,8 @@ services:
# arguments can be used to specify arguments to pass to the executable
# on running
- ARGS=-test=someString
# ignore will indicate which subdirectories to ignore from watching
- IGNORE=/src/web
# ignore will indicate which files and subdirectories to ignore from
# watching, note that the path will be matched from the src directory
- IGNORE=/cmd/web,*.md
```
5 changes: 3 additions & 2 deletions test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 2,10 @@ version: "3.7"

services:
app:
container_name: hot-reload-go.1.14.2
image: dkfbasel/hot-reload-go:1.14.2
container_name: hot-reload-go.1.17.7
image: dkfbasel/hot-reload-go:1.17.7
volumes:
- ./src:/app
environment:
- TIMEOUT=800ms
- IGNORE=*.md,ignorethis
1 change: 1 addition & 0 deletions test/src/ignorethis/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 1 @@
This file should be ignored
1 change: 1 addition & 0 deletions test/src/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 1 @@
This file should be ignored

0 comments on commit 3a2f11a

Please sign in to comment.