nitro
nitro copied to clipboard
503 Server Unavailable
Environment
OS: Macos Platform: Docker Compose Version: 0.4.8 Nuxt Version: v3 External Modules: @nuxtjs/tailwindcss
Reproduction
import {defineNuxtConfig} from 'nuxt'
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
modules: ['@nuxtjs/tailwindcss'],
css: [
'element-plus/dist/index.css',
"@/assets/scss/main.scss"
],
tailwindcss: {
cssPath: '~/assets/scss/tailwind.scss',
viewer: false,
},
build: {
extractCSS: true,
}
})
Describe the bug
When I change file, hot reload fails and break the server.
CLI Command: nuxt dev --host=0.0.0.0 --port=8080
There is two thing may break the code, first tailwind integration and second custom port number. But actually which one is the main issue i couldn't get it.

Additional context
No response
Logs
No response
Looks like its the custom port. Did you try another? Its likely that 8080 is already used by something else (in this case a nitro worker) ?
Hi again. I have made a new tracker for this issue https://github.com/unjs/nitro/issues/1454