Map changes to trigger coded

I need a way to find out how to trigger our code when changes to SDL Docs Mapping are made?