Preheat the oven to 450 degrees.
Bring a large pot of water to a boil. Rinse the green beans then trim the ends and break them in half. Add a pinch of salt to the boiling water then add the green beans. Cook for exactly 5 minutes.
Drain the green beans, then immediately add them to a bowl of ice water. Set them aside.
Place the pot back on the stove over medium heat. Add the vegan butter and allow it to melt. Add the onion, garlic and pepper to the pan and sauté for 5 minutes, stirring frequently. If anything starts to brown, turn down the heat.
Add the flour, thyme and poultry seasoning and stir until everything is coated. Cook for 1 minute. Add the broth and non-dairy milk. Cook for 5 minutes, or until thickened, whisking frequently.
Add 1/2 cup of the crispy onions and stir to combine. Taste and add salt and pepper if needed.
Drain the green beans from the ice water and add them to the pot. Stir until everything is coated. Transfer the mixture to a baking dish and top with the remaining crispy onions.
Place in the oven and bake for 8-10 minutes, or until the top is crispy and the green beans are bubbling. This is best served immediately.