Multiple workers with more and less specific routes

For Workes & Pages, what is the name of the domain?

chrisouellette.com

What is the issue or error you’re encountering

I have one worker that run on every page on the site. I then have another worker that is running only on the /search route. It seems that only the worker that is matching the /search site is running. Is there a way to get both the workers to run?

What steps have you taken to resolve the issue?

Google searched around and was not able to find an answer.

What are the steps to reproduce the issue?

Create a worker that matches any route on your site, then create another worker that only matches a specific route. I am only seeing the worker that specific route is running.

The more specific Worker is always going to trigger over the generalized Worker.

You might be able to have your /search Worker call to your other worker with something like Service Bindings?

This is going to very much depend on what you are trying to accomplish though.