We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fdc4d6 commit f883273Copy full SHA for f883273
src/utils/dev.ts
@@ -1,14 +1,13 @@
1
import crypto from 'node:crypto'
2
-import { join } from 'node:path'
3
import { readFile } from 'node:fs/promises'
4
import type { IncomingMessage } from 'node:http'
+import { join, resolve } from 'pathe'
5
import Database from 'better-sqlite3'
6
import type { Nuxt } from '@nuxt/schema'
7
import { addVitePlugin, isIgnored, updateTemplates, useLogger } from '@nuxt/kit'
8
import type { ConsolaInstance } from 'consola'
9
import chokidar from 'chokidar'
10
import micromatch from 'micromatch'
11
-import { resolve } from 'pathe'
12
import type { WebSocket } from 'ws'
13
import { WebSocketServer } from 'ws'
14
import { listen, type Listener } from 'listhen'
0 commit comments