finished frontend preprocessing UI connection, small changes to interactivity
This commit is contained in:
+12
-2
@@ -1,13 +1,23 @@
|
||||
using Pkg
|
||||
sTime=time()
|
||||
Pkg.activate(".")
|
||||
#ENV["GENIE_ENV"] = "dev"
|
||||
ENV["GENIE_ENV"] = "prod"
|
||||
|
||||
manifest_path = joinpath(@__DIR__, "Manifest.toml")
|
||||
|
||||
# Only instantiate in development mode
|
||||
if get(ENV, "GENIE_ENV", "dev") != "prod"
|
||||
if get(ENV, "GENIE_ENV", "dev") != "prod" || !isfile(manifest_path)
|
||||
@info "Development environment detected. Instantiating packages..."
|
||||
|
||||
if !isfile(manifest_path)
|
||||
@info "Manifest.toml not found. Generating it based on Project.toml..."
|
||||
end
|
||||
|
||||
Pkg.resolve()
|
||||
Pkg.instantiate()
|
||||
Pkg.gc()
|
||||
end
|
||||
Pkg.gc()
|
||||
|
||||
using Genie
|
||||
|
||||
|
||||
Reference in New Issue
Block a user