Dashboard dev server keeps serving a stale @import-ed stylesheet until restarted with --force
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 56/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- bun, tailwindcss, typescript, vite
- Domain
- developer-experience, frontend
Research direction
Start with gui/src/styles.css, the imported sheet gui/src/styles/oauth-tos-danger.css, and the Vite setup in gui; reproduce with the provided Vite command and inspect stylesheet updates after an external edit. The issue suggests checking file watching and @tailwindcss/vite import caching. Done means imported CSS changes appear without restarting Vite with --force.
Written by the indexing model from the issue text.
Description
Client or integration
OpenCodex dashboard
Area
Dashboard
Summary
While developing the dashboard with the Vite dev server (cd gui && bunx vite), an edit to a stylesheet that gui/src/styles.css pulls in with @import "./styles/<file>.css" did not reach the page. Fresh browser profiles kept getting the old rule set until the dev server was restarted with --force. Edits to the component .tsx files reloaded normally. A developer checking a CSS fix in the dev server can therefore conclude the fix does not work when it does.
Reproduction
cd gui && bunx --bun vite --port 5199.- Load a page that uses a rule from an
@imported sheet, for examplegui/src/styles/oauth-tos-danger.css(added in #8820) viaOAuthTosWarningModalforgoogle-antigravity. - Change a selector in that sheet from outside the editor (the change was written by a script), for example
.oauth-tos-card--danger→.modal-card.oauth-tos-card--danger. - Load the page in a new headless Chrome profile and read
getComputedStylefor the element: it still reflects the old rule.document.styleSheetscontained no rule with the new selector. - Restart with
bunx --bun vite --port 5199 --strictPort --force: the new rule applies immediately.
Observed on a host under heavy file-system load (fseventsd and mds_stores each above 150% CPU), so a dropped file-watch event is one likely cause; the @tailwindcss/vite plugin caching the resolved @import graph is another.
Version
dev @ f329892401 (branch feat/antigravity-strong-warning)
Operating system
macOS (Apple silicon), Bun 1.4.4, Vite 8.2.4
Provider and model
Not provider specific
Logs or error output
No error; Vite logged nothing for the edit.
Screenshots and supporting files
Found while producing the screenshots for #8820.
Redacted configuration
N/A
Checks
- I searched existing issues and documentation.
- I removed secrets, tokens, account details, request credentials, and personal data.
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 1.3k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 814
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lidge-jun/opencodex
-
bug gui platform
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
lidge-jun/opencodex#9172 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
[Feature]: Include provider, model and account label in the `upstream failure` service.log linePossibly taken @EnesKartal claimed this 4 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lidge-jun/opencodex#9057 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
[Provider] antigravity-acp catalog omits gemini-4-hydrogen and gemini-4-neon that agy acp offersPossibly taken @sedoll claimed this 6 days ago. Opencatalog provider provider-compatibility
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
lidge-jun/opencodex#9037 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
bug cli
Difficulty 4/5 3-5 days Newbie friendliness 52/100
lidge-jun/opencodex#9171 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
account-pool enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 1 day
All issues in lidge-jun/opencodex
Similar issues
-
manually bump balena-preload to ^19.0.6Possibly taken @shaunmulligan claimed this today. Open
Difficulty 1/5 1-3 hours Newbie friendliness 66/100
balena-io/balena-cli#3200 ·
Maintainers usually reply within 1 day
-
`MaterializedChatMessage._text` is quadratic in the number of text chunks (`+=` followed by `endsWith`), driving the extension host to heap OOMPossibly taken @olegius88 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
microsoft/vscode-prompt-tsx#205 ·
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
melgarafael/DeskcommCRM#5340 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
ehmpathy/rhachet-roles-ehmpathy#1529 ·
Maintainers usually reply within 1 day