Code reloading
Code reloading is a development technique that detects changed code or resources and refreshes, reevaluates, or restarts affected application components without requiring a full manual restart.
Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform
A development technique that detects source-code changes and automatically restarts or reloads a running application.
- How it is used
- Speeds development feedback by automatically restarting changed microservices and rerunning tests as code evolves.
- How deep it goes
- Walks through watcher setup, container code sharing, polling, and verification, without detailing watcher internals.
- Examples
- Uses a history microservice’s changed startup message and Jest watch commands to demonstrate automatic feedback.
- What you can do after
- Apply it via nodemon and Jest to restart services and rerun tests after edits.
Quarkus in Action
A development-time process that applies code or configuration changes by reloading an application without a full manual restart.
- How it is used
- Shortens the Quarkus development edit–check loop by applying saved changes when the running application receives a request.
- How deep it goes
- Explains triggers, request handling, state loss, and optional instrumentation, but defers class-loader architecture details.
- Examples
- Uses a changed REST greeting, a missing semicolon, and Dev mode console logs to demonstrate successful and failed reloads.
- What you can do after
- Operate/configure it with Quarkus Dev mode commands, request-triggered reloads, and the optional instrumentation setting.
Pro Angular 16
Hot reload is a development technique that updates a running application after source changes without requiring a full restart.
- How it is used
- Provides automatic browser feedback after saved source changes during Angular development.
- How deep it goes
- Explains change detection, selective bundle rebuilding, and the server signal that reloads the browser; does not describe preserving page state.
- Examples
- Uses `main.ts` console messages and an `app.component.html` template edit, with browser output and a build report.
- What you can do after
- Operate/configure it by running `ng serve`, saving an edit, and checking the browser or build output for the result.
.NET MAUI in Action
Hot reload on file save is an automatic hot-reload mode that applies supported changes when a source file is saved.
- How it is used
- Accelerates the inner development loop for .NET MAUI apps by showing supported edits while the app continues running.
- How deep it goes
- Explains file-save activation, supported edits, and rebuild limits caused by immutable CLR metadata and resources.
- Examples
- Uses greeting edits, XAML layout changes, and a custom Dotnet Bot image to contrast reloadable and rebuild-required changes.
- What you can do after
- Apply it via Visual Studio to iterate on running .NET MAUI interfaces without restarting after every supported edit.
Also covered in
- Developer Experience on KubernetesIn early access (MEAP)
- Kubernetes for Developers
- Pro ASP.NET Core 7, Tenth Edition
- .NET in Action, Second Edition
What to know first
- containerA software container is an isolated execution environment that packages an application and its dependencies, typically sharing the host operating-system kernel.
- design patternA design pattern is a reusable, general solution structure for a recurring software design problem.
- HTTPHTTP is an application-layer protocol that defines request-and-response communication for transferring resource representations and related metadata between networked systems.
- serverA server is a computer system or software process that provides data, resources, or services to other systems, typically by responding to requests.
Related concepts
- continuous testingused by · Continuous testing is the automated and repeated evaluation of software throughout development and delivery to provide rapid feedback on changes.
- development modeused by · Development mode is an application or build configuration that prioritizes rapid iteration, development tooling, and diagnostics over production optimization.
- Dockercontrasts with · Docker is a platform and toolset for building, distributing, and running applications in containers.
- dotnet watchused by · dotnet watch is a .NET CLI tool that monitors project files and reruns, rebuilds, or reloads an application when supported changes occur.
- Jestuses · Jest is a JavaScript testing framework for defining, running, and asserting automated tests.
- .NET CLIcontrasts with · .NET CLI is the command-line toolset for creating, building, running, testing, publishing, and managing .NET applications and projects.
Questions about code reloading
What is code reloading?
Code reloading is a development technique that detects changed code or resources and refreshes, reevaluates, or restarts affected application components without requiring a full manual restart.
Which Manning books explain code reloading?
Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform, Quarkus in Action, Pro Angular 16 and .NET MAUI in Action.
What should I know before learning code reloading?
Manning books that teach code reloading usually introduce container, design pattern, HTTP and server first.
What is the difference between code reloading and Docker?
Code reloading is a development technique that detects changed code or resources and refreshes, reevaluates, or restarts affected application components without requiring a full manual restart. Docker is a platform and toolset for building, distributing, and running applications in containers.
What is code reloading also called?
Code reloading is also called hot reload, live reload or automatic reloading.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.



