Hacker News new | ask | show | jobs
by athyuttamre 3745 days ago
You could host a volume into your container containing the code base. Then use any standard live reloading library to make it work.
2 comments

If 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
Does it mean that I need two docker compose, one for development and one for deployment ?
That's correct. I have this setup at http://github.com/athyuttamre/signmeup.