mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 20:02:08 +00:00
df75a619c8
VM hot reload are run via: 1) We first emit a dill for every generation ahead of time (full dill on gen 0, incremental deltas subsequently). 2) We start a VM process at generation 0. 3) The VM process runs until it hits a `hotReload` command. It then uses the VM service protocol to connect to itself and reload the next generation. 4) The VM exits when the next generation isn't found. * Adds config files to reload tests that allow runtime filtering. * Implements VM-side hot reloading * Adds several VM-specific hot reload tests Change-Id: I1c6ad5c4eed426a0189c1b4af31297c9c1dba717 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/359200 Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Mark Zhou <markzipan@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
20 lines
502 B
YAML
20 lines
502 B
YAML
name: reload_test
|
|
# This package is not intended for consumption on pub.dev. DO NOT publish.
|
|
publish_to: none
|
|
description: >
|
|
Small framework for testing hot reload and hot restart across Dart backends.
|
|
|
|
environment:
|
|
sdk: '>=3.3.0 <4.0.0'
|
|
|
|
# Use 'any' constraints here; we get our versions from the DEPS file.
|
|
dependencies:
|
|
dev_compiler: any
|
|
frontend_server: any
|
|
vm_service: any
|
|
|
|
# Use 'any' constraints here; we get our versions from the DEPS file.
|
|
dev_dependencies:
|
|
lints: any
|
|
test: any
|