You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have exactly the same issue, tried so many different settings and nothing seems to work it has to be an issue with denon restarts on file changes working correctly within the container.
I found out why this is an issue. It appears like events are not triggered when files change in a mounted volume in a docker container. This seems to be a problem also for nodemon.
So the fix/workaround here is to enable polling by setting "legacy": true in the config file under the property "watcher". After I did this it now "hot reloads".
Describe the bug
The hot reload is not working on Docker using the image denoland/deno:1.10.3
To Reproduce Steps to reproduce the behavior:
1 - Download a simple project here: https://github.com/icaroNZ/denon-reload-problem
2 - run
docker-compose up
3 - modify the main.ts file
Expected behavior
Expected that the application will reload once the main.ts file is changed
Configuration or Project
The project was suppose to use a denon.json file for configuration:
For simplicity the docker compose file just run
denon run --allow-env --allow-net src/main.ts
insteadIs expected both solutions to work.
Setup
The text was updated successfully, but these errors were encountered: