Skip to content

build(Dev Server): Performance improvements - #2392

Open
hirokiterashima wants to merge 2 commits into
developfrom
build/improve-dev-server-performance
Open

hirokiterashima wants to merge 2 commits into
developfrom
build/improve-dev-server-performance

Conversation

@hirokiterashima

@hirokiterashima hirokiterashima commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Changes

  • Remove extra optimization step, outputHashing, and verbosity during dev server builds. We added optimization: true in PR feat(Grade by step): Display component summary views #2090, but I don't think we needed to. It was probably committed by mistake.
  • Update @use "tailwindcss" to @reference "tailwindcss"
    Reason: Each full import makes Tailwind scan the whole project and produce a complete stylesheet, including its global reset, inside that one component’s CSS. Tailwind also treats every template file as an input, so editing almost any .html file can rebuild those two large stylesheets. Changing both to @reference "tailwindcss" should speed up rebuilds. It also stops Tailwind’s global reset from being copied into those components’ CSS.

Test/Verify

  • Dev server build works as before (cold start and hot reload on changes). Cold start and hot reload should take less time. For me, they were both at least ~25% faster with these changes. New cold start took less than 1 minute, and hot reload took 5-10 seconds.
  • [JLB] Verify: we added optimization: true in PR feat(Grade by step): Display component summary views #2090, but I don't think we needed to. It was probably committed by mistake.
  • [JLB] Verify: Tailwind changes make sense. I'm guessing we just forgot to update these classes?
    • src/assets/wise5/directives/summary-display/summary-display.component.scss
    • src/assets/wise5/classroomMonitor/classroomMonitorComponents/component-summary/component-summary.component.scss

@hirokiterashima hirokiterashima self-assigned this Nov 19, 2026
@hirokiterashima hirokiterashima changed the title build(Dev Server): Improve performance build(Dev Server): Performance improvements Nov 19, 2026
@qltysh

qltysh Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Qlty


Coverage Impact

Unable to calculate total coverage change because base branch coverage was not found.

Commit 85364a0 · 🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant