Add the vegetable broth, dried cranberries, pecans, Parmesan cheese, thyme, salt, and pepper to the skillet. Cook until the broth is mostly absorbed, about 3 minutes.
Combine the squash strands with the onion and cranberry mixture. Mix well.
Transfer the mixture to a lightly greased 8×8 inch baking dish.
Bake for 15 minutes until heated through and lightly browned on top.
Notes
You can prepare the spaghetti squash strands a day ahead and store them in the refrigerator.
Toast the pecans lightly in a dry pan before adding them for better flavor.
For a richer flavor, substitute half of the vegetable broth with chicken broth.