We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4504a4c commit 1831710Copy full SHA for 1831710
src/commands/dev.ts
@@ -110,11 +110,8 @@ async function _createDevProxy(
110
listenOptions: Partial<ListenOptions>,
111
) {
112
let loadingMessage = 'Nuxt dev server is starting...'
113
- const loadingTemplate
114
- = nuxtOptions.devServer.loadingTemplate
115
- ?? (await importModule('@nuxt/ui-templates', nuxtOptions.modulesDir).then(
116
- r => r.loading,
117
- ))
+ const loadingTemplate = nuxtOptions.devServer.loadingTemplate
+ ?? await importModule('@nuxt/ui-templates', nuxtOptions.modulesDir).then(r => r.loading)
118
119
const { createProxyServer } = await import('httpxy')
120
const proxy = createProxyServer({})
0 commit comments