Reloads all WebAssembly components from the configured repository locations without restarting the TAHO host process. This allows you to deploy new versions of services or add new services without downtime.
# 1. Update component in repositorycp target/wasm32-wasi/release/my_service.wasm /path/to/components/# 2. Reload TAHO to pick up the new versioncurl -X POST http://localhost:9481/api/reload
# Build new versioncargo component build --release# Copy to repositorycp target/wasm32-wasi/release/service.wasm /components/# Hot-reload without downtimecurl -X POST http://localhost:9481/api/reload
# Deploy new component file to repository# (via git push, file copy, or network deployment)# Reload to discover and load the new componentcurl -X POST http://localhost:9481/api/reload
# Watch for changes and auto-reloadwhile inotifywait -e modify /path/to/components/*.wasm; do curl -X POST http://localhost:9481/api/reload echo "Components reloaded at $(date)"done
TAHO scans configured repositories for .wasm files:
config.toml
Copy
Ask AI
# Components are loaded from these locationsrepo_urls = [ "file:///usr/local/taho/components", "file:///home/user/my-components", "https://github.com/myorg/taho-components"]