diff --git a/racket/syndicate/drivers/config.rkt b/racket/syndicate/drivers/config.rkt index 670dbe9..2fe2518 100644 --- a/racket/syndicate/drivers/config.rkt +++ b/racket/syndicate/drivers/config.rkt @@ -14,8 +14,9 @@ ;; (config Any Any) (struct config (scope item) #:prefab) -(define (spawn-configuration scope path) +(define (spawn-configuration scope path #:hook [hook void]) (actor #:name (list 'configuration-monitor scope path) + (hook) (during (file-content path file->list $items) (cond [(not items)