With Ionic v4 ionViewWillEnter() only works on initial load not when switching pages?

I have some code running under ionViewWillEnter() and for some reason, it is only running unlike with ionic3 when I load the app the first time. Why is this happening/What is a better way to run code when a page is entered?