diff --git a/src/node/shortcuts.ts b/src/node/shortcuts.ts index 84aa03ec8d81..f8db986cf451 100644 --- a/src/node/shortcuts.ts +++ b/src/node/shortcuts.ts @@ -1,6 +1,7 @@ import type { ViteDevServer } from 'vite' import c from 'picocolors' import { clearCache } from './markdownToVue' +import { disposeMdItInstance } from './markdown/markdown' type CreateDevServer = () => Promise @@ -81,6 +82,7 @@ const SHORTCUTS: CLIShortcut[] = [ clear: true, timestamp: true }) + disposeMdItInstance() clearCache() await server.close() await createDevServer()