Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Commit

Permalink
Fix live reload
Browse files Browse the repository at this point in the history
  • Loading branch information
pditommaso committed Jun 9, 2019
1 parent f450141 commit b4047a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker-livedev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ services:
context: ./watchtower-gui
dockerfile: Dockerfile-livedev
image: tower-frontend:livedev
command: bash -c 'npm i; ng serve --watch --host 0.0.0.0 --port 4200 --proxy-config proxy.conf.json -c livedev'
command: bash -c 'npm i; ng serve --live-reload --watch --poll 3000 --host 0.0.0.0 --port 4200 --proxy-config proxy.conf.json -c livedev'
volumes:
- $PWD/watchtower-gui:$PWD/watchtower-gui
working_dir: $PWD/watchtower-gui
Expand Down
1 change: 1 addition & 0 deletions watchtower-gui/Dockerfile-livedev
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM node:11.14.0-alpine
RUN apk update && apk upgrade && apk add bash
RUN echo fs.inotify.max_user_watches=524288 | tee -a /etc/sysctl.conf && sysctl -p
EXPOSE 4200
RUN npm install -g @angular/cli@">=7.2.13 <8.0.0"

0 comments on commit b4047a4

Please sign in to comment.