File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
packages/cursorless-engine/src Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,15 @@ export class CustomSpokenFormGeneratorImpl
3737 ) ;
3838 this . disposable = this . customSpokenForms . onDidChangeCustomSpokenForms (
3939 ( ) => {
40+ console . log (
41+ "CustomSpokenFormGeneratorImpl.onDidChangeCustomSpokenForms" ,
42+ ) ;
4043 this . spokenFormGenerator = new SpokenFormGenerator (
4144 this . customSpokenForms . spokenFormMap ,
4245 ) ;
4346 } ,
4447 ) ;
48+ console . log ( "CustomSpokenFormGeneratorImpl constructor done" ) ;
4549 }
4650
4751 onDidChangeCustomSpokenForms ( listener : Listener < [ ] > ) {
Original file line number Diff line number Diff line change @@ -58,20 +58,22 @@ export class CustomSpokenForms {
5858 }
5959
6060 constructor ( private talonSpokenForms : TalonSpokenForms ) {
61+ console . log ( "CustomSpokenForms constructor" ) ;
62+
6163 this . disposable = talonSpokenForms . onDidChange ( ( ) => {
6264 console . log ( "CustomSpokenForms.onDidChange" ) ;
6365 this . updateSpokenFormMaps ( ) . catch ( ( ) => {
6466 console . log ( "CustomSpokenForms.onDidChange() catch" ) ;
6567 } ) ;
6668 } ) ;
6769
68- console . log ( "CustomSpokenForms constructor" ) ;
69-
7070 this . customSpokenFormsInitialized = this . updateSpokenFormMaps ( ) . catch (
7171 ( ) => {
7272 console . log ( "CustomSpokenForms.updateSpokenFormMaps() catch" ) ;
7373 } ,
7474 ) ;
75+
76+ console . log ( "CustomSpokenForms constructor done" ) ;
7577 }
7678
7779 /**
You can’t perform that action at this time.
0 commit comments