[REF-2619] Re-init when the template is out of date (#3121)
This commit is contained in:
parent
19007ee2a1
commit
041abb39c8
@ -893,6 +893,10 @@ def needs_reinit(frontend: bool = True) -> bool:
|
||||
if not os.path.exists(constants.Dirs.WEB):
|
||||
return True
|
||||
|
||||
# If the template is out of date, then we need to re-init
|
||||
if not is_latest_template():
|
||||
return True
|
||||
|
||||
if constants.IS_WINDOWS:
|
||||
console.warn(
|
||||
"""Windows Subsystem for Linux (WSL) is recommended for improving initial install times."""
|
||||
|
Loading…
Reference in New Issue
Block a user