|
|
@ -79,10 +79,12 @@ export const CompilerContainer = (props: CompilerContainerProps) => { |
|
|
|
}, [workspaceName]) |
|
|
|
}, [workspaceName]) |
|
|
|
|
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
useEffect(() => { |
|
|
|
if (state.useFileConfiguration) |
|
|
|
if (state.useFileConfiguration) { |
|
|
|
api.fileExists(defaultPath).then((exists) => { |
|
|
|
api.fileExists(defaultPath).then((exists) => { |
|
|
|
if (!exists || state.useFileConfiguration ) createNewConfigFile() |
|
|
|
if (!exists || state.useFileConfiguration ) createNewConfigFile() |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
setToggleExpander(true) |
|
|
|
|
|
|
|
} |
|
|
|
}, [state.useFileConfiguration]) |
|
|
|
}, [state.useFileConfiguration]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|