Reload configuration before updating plugs
parent
6e4742de11
commit
a56db78194
|
@ -20,6 +20,7 @@ const plugsPrelude =
|
||||||
export async function updatePlugsCommand() {
|
export async function updatePlugsCommand() {
|
||||||
await editor.save();
|
await editor.save();
|
||||||
await editor.flashNotification("Updating plugs...");
|
await editor.flashNotification("Updating plugs...");
|
||||||
|
await system.reloadConfig();
|
||||||
try {
|
try {
|
||||||
const plugList: string[] = [];
|
const plugList: string[] = [];
|
||||||
const configPlugs: any[] = await system.getSpaceConfig("plugs", []);
|
const configPlugs: any[] = await system.getSpaceConfig("plugs", []);
|
||||||
|
|
Loading…
Reference in New Issue