Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ Each command extends `BaseCommand.cfc` (or `BaseAICommand.cfc` for AI commands)
- **Always lint markdown files after editing** - Run `npx markdownlint-cli -f {filename}` after any markdown file modifications
- Markdown linting configuration is in `.markdownlint.json`
- Fix any linting errors before committing changes
- **Always update `changelog.md`** for every fix, update, or addition

## Development Workflows

Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- `coldbox create handler --boxlang` / `--noboxlang` now propagates language selection to auto-generated views so view extensions match the requested mode (`.bxm` for BoxLang, `.cfm` for CFML)
- `coldbox create model --tests` now prefixes the right location of the models
- `coldbox watch-reinit` now honors `server.json` webroot-based server discovery so running apps in subdirectory webroots are correctly found and reinitialized

## [8.12.0] - 2026-05-11

Expand Down
6 changes: 5 additions & 1 deletion commands/coldbox/watch-reinit.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ component {
"removed" : "red",
"changed" : "yellow"
}
var serverDetails = serverService.resolveServerDetails( {} );
var defaultServer = serverService.getServerInfoByDiscovery( serverConfigFile = "server.json" );
var serverDetails = serverService.resolveServerDetails( {
name : defaultServer.keyExists( "name" ) ? defaultServer.name : "",
directory : getCWD()
} );
var serverStatus = serverService.isServerRunning( serverDetails.serverInfo );

// Tabula rasa
Expand Down