Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Oct 2, 2024

When live reload is disabled ("liveReload": false/no-live-reload) within the development server, the Vite websocket server will no longer be initialized. Additionally, the client code will not be loaded by the browser. This allows the development server to be used in test scenarios that would prefer to more fully represent the production fielded configuration such as E2E testing or other forms of browser-based testing.

@clydin clydin added the target: major This PR is targeted for the next major release label Oct 2, 2024
@clydin clydin added target: rc This PR is targeted for the next release-candidate and removed target: major This PR is targeted for the next major release labels Nov 3, 2024
@clydin clydin force-pushed the dev-server/live-reload-ws branch 3 times, most recently from 6281b01 to 5a214b5 Compare November 3, 2024 15:08
…tylesheet hot replacement

The development server's `hmr` option will now disable both global and component
stylesheet hot replacement if explicitly disabled. These features are enabled by
default for all projects.
… disabled

When live reload is disabled (`"liveReload": false`/`no-live-reload`) within
the development server, the Vite websocket server will no longer be initialized.
Additionally, the client code will not be loaded by the browser. This allows the
development server to be used in test scenarios that would prefer to more fully
represent the production fielded configuration such as E2E testing or other forms
of browser-based testing.
@clydin clydin force-pushed the dev-server/live-reload-ws branch from 5a214b5 to fdefd47 Compare November 3, 2024 17:30
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Nov 3, 2024
@clydin clydin requested a review from alan-agius4 November 3, 2024 17:30
@clydin clydin added this to the v19 Candidates milestone Nov 4, 2024
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 5, 2024
@alan-agius4 alan-agius4 merged commit 4633562 into angular:main Nov 5, 2024
32 of 33 checks passed
@alan-agius4
Copy link
Collaborator

The changes were merged into the following branches: main, 19.0.x

@clydin clydin deleted the dev-server/live-reload-ws branch November 5, 2024 15:05
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: @angular/build target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants