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
- Shortens development feedback by restarting changed microservices automatically instead of requiring manual restarts or repeated application rebuilds.
- How deep it goes
- Works through nodemon installation, npm scripts, container code sharing, a reload check, and a file-watching workaround.
- Examples
- Uses a startup-message edit in a Compose application and Jest commands that rerun tests after code changes.
- What you can do after
- Operate/configure it with nodemon and Docker Compose so edited microservices restart, and use Jest watch mode for test feedback.
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.
Related concepts
- 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.
- Quarkus dev modeused by · Quarkus dev mode is a Quarkus development mode that provides rapid code-change feedback without restarting the application.
- Visual Studiouses · Visual Studio is Microsoft's integrated development environment for creating, building, debugging, and testing software across programming languages and platforms.
- Dockercontrasts with · Docker is a platform and ecosystem for building, distributing, and running applications in containers.
- nodemonimplemented by · nodemon is a command-line development tool that monitors files and automatically restarts a Node.js application when changes are detected.
- continuous testingused by · Continuous testing is the automated and repeated evaluation of software throughout development and delivery to provide rapid feedback on changes.
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.



