webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

Vite Build 2nd Attempt Do Not Display In File Explorer

Open TNGD-YQ opened this issue 1 year ago • 1 comments

Describe the bug

Fork a repo using link: https://vite.new/

Add a new vite config file with empty content. image

Run npm run build, 1st attempt will generate output. image

Run npm run build again, 2nd attempt won't generate output. image

Link to the blitz that caused the error

https://stackblitz.com/edit/vitejs-vite-q5maeq?file=package.json,vite.config.ts&terminal=dev

Steps to reproduce

Fork a repo using link: https://vite.new/ Add a new vite config file with empty content. Run npm run build, 1st attempt will generate output. Run npm run build again, 2nd attempt won't generate output.

Expected behavior

File generated shown in explorer as expected

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 121.0.0.0
Major version = 121
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 84386770,
  "usedJSHeapSize": 57008866,
  "jsHeapSizeLimit": 4294705152
}
Hash = a9c8a5a3

Additional context

No response

TNGD-YQ avatar Feb 20 '24 07:02 TNGD-YQ

Duplicate issue from https://github.com/vitejs/vite/issues/15964

TNGD-YQ avatar Feb 20 '24 07:02 TNGD-YQ