Document asset helpers serving from the development server - #654
Merged
Conversation
tricknotes
force-pushed
the
dev-server-asset-helpers
branch
from
September 3, 2026 16:06
b3eb0ec to
fa5c46f
Compare
tricknotes
force-pushed
the
vite-recompile-on-change
branch
from
September 3, 2026 16:06
de1c51e to
db2e1f4
Compare
tricknotes
force-pushed
the
dev-server-asset-helpers
branch
from
September 3, 2026 18:21
98d8ac0 to
b332374
Compare
tricknotes
changed the base branch from
vite-recompile-on-change
to
claude/vite-dev-server-hmr-y3xm8i
September 3, 2026 18:21
This was referenced Sep 3, 2026
tricknotes
force-pushed
the
claude/vite-dev-server-hmr-y3xm8i
branch
from
September 4, 2026 08:08
c1f47c1 to
5ba5dd3
Compare
With the ember-cli-rails-assets release carrying tricknotes/ember-cli-rails-assets#35, `include_ember_script_tags` reads `index.html` from the development server and emits absolute URLs pointing at it, so the helpers no longer require `dev_server: false`. Update the passages that said the helpers always read the build output. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
ember-cli-rails-assets 0.9.0 is released and serves the include_ember_script_tags startup tags from Vite's development server, so raise the gemspec constraint and state the behavior plainly in the documentation instead of hedging about older releases. The dev_server: false path is now described as the opt-out it is: the helpers then read the build output, built once, synchronously, on the first request. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
State in the upgrading guide that the development server is the default and recommended setup, with a reference configuration: a fixed port so that several Rails workers share one server, and a longer timeout for a slow first boot. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
tricknotes
force-pushed
the
dev-server-asset-helpers
branch
from
September 4, 2026 08:09
48d7fc9 to
fe2a21b
Compare
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Companion to tricknotes/ember-cli-rails-assets#35, released as ember-cli-rails-assets 0.9.0:
include_ember_script_tagsreadsindex.htmlfrom Vite's development server and emits the startup tags with absolute URLs pointing at it, so embedding a Vite-based application into Rails-owned HTML no longer requiresdev_server: false, and changes are picked up by reloading the page instead of waiting for a full build.The API the helper needs (
App#dev_server?, andApp#dev_serverwithindex_htmlandorigin) is already public on the #653 branch, so this side is documentation and dependency housekeeping:>= 0.9.0, the release that carries the development-server support (verified to resolve)dev_server: falseis described as the opt-out it is (the helpers then read the build output, built once on the first request)portso that several Rails workers share one server, and a longertimeoutfor a slow first boot)Stacked directly on #653 (the interim
vite-recompile-on-changebase was dropped).🤖 Generated with Claude Code