Add vertices to geometry doesn't update THREE.Line

Hello everyone,
Let’s say that I am drawing a line that grows over time. Every clock tick, I add a new vertex to its geometry.

Unfortunately, this doesn’t seem to work. If I add all the vertices at once and then create the line, it shows up correctly. If I create a new line with the geometry as I change it, my new line doesn’t show up.

I am probably not understanding something. Can I change a geometry after I assigned it to a line?

Take a look at this SO topic: