code4sac / openbudgetsac.org

Code for Sacramento's Open Budget Project (landing page + D3.js files)
http://openbudgetsac.org
MIT License
17 stars 25 forks source link

Docker does not watch local file changes #61

Open natebass opened 1 year ago

natebass commented 1 year ago

When making a change to the files, the changes are not reloaded in the browser.

Docker compose is running npx @11ty/eleventy --serve --port=8011, which normally watches for changes and reloads the page. However, it doesn't function the same when running in a Docker container.

Currently, to see the changes you have to stop and start again the Docker container with docker compose up --build.