Real-time updating is achieved with JavaScript. Is your .js code working? The Codex has great examples and I think Otto has a defacto post about it somewhere on Google.
This has everything you need:
https://codex.wordpress.org/Theme_Customization_API