watchKeybindings method

Future<String?> watchKeybindings(
  1. String keybindingsPath,
  2. void callback(
    1. FileChange
    )
)

Watch for keybinding file changes.

Implementation

Future<String?> watchKeybindings(
  String keybindingsPath,
  void Function(FileChange) callback,
) async {
  return watchFile(keybindingsPath, callback);
}