feat(nuxt): add watch
option and refactor dev server restarting
#19530
+83
β45
watch
option and refactor dev server restarting
#19530