File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ import {
4747 type IDE ,
4848} from "." ;
4949
50- import { ConfigYaml } from "@continuedev/config-yaml" ;
50+ import { BLOCK_TYPES , ConfigYaml } from "@continuedev/config-yaml" ;
5151import { getDiffFn , GitDiffCache } from "./autocomplete/snippets/gitDiffCache" ;
5252import { isLocalDefinitionFile } from "./config/loadLocalAssistants" ;
5353import {
@@ -892,7 +892,12 @@ export class Core {
892892 uri . endsWith ( ".prompt" ) ||
893893 uri . endsWith ( SYSTEM_PROMPT_DOT_FILE ) ||
894894 ( uri . includes ( ".continue" ) && uri . endsWith ( ".yaml" ) ) ||
895- uri . endsWith ( RULES_MARKDOWN_FILENAME )
895+ uri . endsWith ( RULES_MARKDOWN_FILENAME ) ||
896+ BLOCK_TYPES . some (
897+ ( blockType ) =>
898+ uri . includes ( `.continue/${ blockType } ` ) ||
899+ uri . includes ( `.continue\\${ blockType } ` ) ,
900+ )
896901 ) {
897902 await this . configHandler . reloadConfig ( ) ;
898903 } else if (
You can’t perform that action at this time.
0 commit comments