Bring a large pot of salted water to a boil. Add the gnocchi and cook for 2–3 minutes or until they float to the surface. Drain well and set aside.
Heat the olive oil in a large skillet or saucepan over medium heat. Add the minced garlic and cook for about 30 seconds or until fragrant, stirring frequently.
Add the butter and allow it to melt completely. Stir in the flour and cook for about 1 minute, stirring constantly.
Gradually pour in the whole milk and heavy cream, whisking constantly until smooth. Continue cooking over medium heat for 7-8 minutes or until the sauce thickens slightly.
Turn off the heat and stir in the shredded Gruyère cheese and Dijon mustard. Whisk until the cheese is completely melted and the sauce is smooth and creamy. Season with salt and black pepper to taste.
Add the cooked gnocchi to the cheese sauce and gently stir until evenly coated.
Transfer the creamy gnocchi to a broiler-safe baking dish and spread it into an even layer. Sprinkle the shredded mozzarella cheese evenly over the top.
Place the baking dish under the broiler for approximately 2 minutes or until the mozzarella is melted, bubbly, and golden brown. Watch carefully to prevent burning.
Garnish with freshly chopped chives, if desired, and serve immediately.