Editing a file via the UI doesn't update the Elasticsearch index

Summary

If I edit a file directly in the GitLab UI, it is not picked up on by the elasticsearch commit indexer.

Steps to reproduce

Peek_2018-04-05_11-11

What is the current bug behavior?

Project must be reindexed before the changes appear

What is the expected correct behavior?

Changes should appear automatically

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Assignee Loading
Time tracking Loading