Bring the pasta water to the boil and add a dash of salt.
When the water boils, cook the pasta until al dente. Put the oven on full heat.
Pour a generous amount of olive oil into the baking dish. Place the feta cheese in the baking dish. Cut the cherry tomatoes in half and roll them around in the baking dish so that they are coated with olive oil.
Sprinkle the chillies over the feta and drizzle olive oil over the whole thing.
Place the pan on the top shelf of the oven and let the oven heat up to 250C. Bake the feta until the tomatoes start to colour. You can also turn the grill rack over at the end. Just keep on eye that it will not burn.
In the meantime, toast the pine nuts in a pan to add a little colour, but be careful not to burn them.
Strain the pasta. Lift the baking dish on the table and stir the spaghetti into the feta. Season with black pepper.
Pile up the portions and garnish with basil and toasted pine nuts.