Edited mock server endpoint to contain a pre-request script but this is not reflecting in live requests

I created a mock server and added a GET endpoint and saved it. I subsequently added a pre-request script to this endpoint (via Collections -> {mock server name} -> {endpoint name} -> Pre-request script) but the script does not run when I make a request to then endpoint.