Skip to content

Commit

Permalink
fix: first run chat issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianoliveira committed May 11, 2024
1 parent 9510393 commit 4a39e93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .watch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
ignore: ['**/*.db', '**/*.db-journal']

- name: restart chat-app
run: 'docker-compose restart chat-app'
run: 'docker compose restart chat-app'
change: 'services/chat/**/*'
ignore: [ 'services/chat/target/**/*' ]

- name: restart news-app
run: 'docker-compose restart news-app'
run: 'docker compose restart news-app'
change: 'services/news/**/*'
ignore: ['**/*.db', '**/*.db-journal']
2 changes: 1 addition & 1 deletion services/chat/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ RUN sed -i 's#mock.rs#src/main.rs#' Cargo.toml

COPY src ./src

CMD ["cargo", "watch", "-x", "run"]
CMD ["cargo", "run"]

0 comments on commit 4a39e93

Please sign in to comment.