Fix prompt reloading in dev mode (#18095)

I think I nulled out the repo path to test the non dev mode case and
then forgot to reenable it 🤦‍♂️ .

Release Notes:

- N/A
This commit is contained in:
Nathan Sobo 2024-09-19 17:49:22 -06:00 committed by GitHub
parent 740803d745
commit ae34872f73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,10 +90,9 @@ impl PromptBuilder {
/// and application context.
/// * `handlebars` - An `Arc<Mutex<Handlebars>>` for registering and updating templates.
fn watch_fs_for_template_overrides(
mut params: PromptLoadingParams,
params: PromptLoadingParams,
handlebars: Arc<Mutex<Handlebars<'static>>>,
) {
params.repo_path = None;
let templates_dir = paths::prompt_overrides_dir(params.repo_path.as_deref());
params.cx.background_executor()
.spawn(async move {