Restart workflow after code change or deployed in ts

I’m new to temporal . After the modified code has been deployed, I want to restart the workflow or continue it with the updated code , in TS/JS