How to force a mob to rotate towards the player

I'm not sure if this will work on PC, but this works on MCPE:

tp @e[type=!Player,type=!Item] ~~~ facing @p

The problem is that it will stay on its position until moved, but it will always face you.