3 ms·
You could host a volume into your container containing the code base. Then use any standard live reloading library to make it work.
by athyuttamre 11y ago
You could host a volume into your container containing the code base. Then use any standard live reloading library to make it work.
- sillypog 11y agoIf the live reloading library relies on inotifywait, it won't detect changes made on the OSX side across the volume due to issues with Virtual Box. I made a utility that I run in my container while I'm developing to trigger these events: https://github.com/sillypog/inotify-proxy https://github.com/sillypog/inotify-proxy
- zimbatm 11y agoDoes it mean that I need two docker compose, one for development and one for deployment ?
- athyuttamre 11y agoThat's correct. I have this setup at http://github.com/athyuttamre/signmeup http://github.com/athyuttamre/signmeup.