Add chokidar watcher settings.
This commit is contained in:
@@ -2,7 +2,9 @@ function errorTypeCheck(passedError: any): ParsedError {
|
||||
const errorMessage =
|
||||
passedError instanceof Error ? passedError.message : String(passedError);
|
||||
const errorStack =
|
||||
passedError instanceof Error ? passedError.stack : "unknown";
|
||||
passedError instanceof Error
|
||||
? (passedError.stack ?? "")
|
||||
: String(passedError);
|
||||
|
||||
return {
|
||||
message: errorMessage,
|
||||
|
||||
@@ -2,10 +2,15 @@
|
||||
"toMain": {
|
||||
"test": "toMain_test",
|
||||
"authStateChanged": "toMain_authStateChanged",
|
||||
"watcher": {
|
||||
"start": "toMain_watcher_start",
|
||||
"stop": "toMain_watcher_stop"
|
||||
},
|
||||
"settings": {
|
||||
"filepaths": {
|
||||
"get": "toMain_settings_filepaths_get",
|
||||
"add": "toMain_settings_filepaths_add"
|
||||
"add": "toMain_settings_filepaths_add",
|
||||
"remove": "toMain_settings_filepaths_remove"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user