Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vite build --watch is building the component with a new data-v value, but not generating a new css file #7980

Closed
7 tasks done
ashcolor opened this issue May 1, 2022 · 1 comment · Fixed by #7989
Closed
7 tasks done
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)

Comments

@ashcolor
Copy link

ashcolor commented May 1, 2022

Describe the bug

Same Issue #6633, and add reproduction procedure.

  1. git clone git@github.com:ashcolor/vue-watch-scoped-css.git

  2. Npm install

npm install
  1. Build with watch option.
# vite build --watch
npm run watch
  1. Preview and Open browser.
# another terminal
npm run preview
  1. Change src\components\HelloWorld.vue anything, and rebuld automatically.

  2. Reload browser, a {color: #42b983;} is not worked.

Reproduction

https://github.com/ashcolor/vue-watch-scoped-css

System Info

Windows 10, Chrome
node v16.15.0

"@vitejs/plugin-vue": "^2.3.1",
"vite": "^2.9.5"

Used Package Manager

npm

Logs

First build:

スクリーンショット 2022-05-02 004349

Second build:

スクリーンショット 2022-05-02 004354

Validations

@sapphi-red sapphi-red added p3-minor-bug An edge case that only affects very specific usage (priority) and removed pending triage labels May 2, 2022
@ccor
Copy link

ccor commented May 5, 2022

I also encountered this problem,look forward to fixing it soon.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants