A bug exists either in Vite or in markdown-it
that causes a hang on rebuild when running vite build --watch
- Run app in dev mode
npm run dev
- Open
localhost:5173
in browser, app should render text frommarkdown.ts
- Make a change to text in
markdown.ts
, observe content updates in browser - Kill dev process
- Launch Vite build + watch:
npm run build -- --watch
- Open
localhost:5173
in browser, app should render text frommarkdown.ts
- Make a change to text in
markdown.ts
, observe content does not update in browser - Observe in terminal that rebuild was started but never completed