Skip to content

Instantly share code, notes, and snippets.

@goretkin
Created November 9, 2018 20:43
Show Gist options
  • Save goretkin/c67215afe507b7a4deaa26fee0367e72 to your computer and use it in GitHub Desktop.
Save goretkin/c67215afe507b7a4deaa26fee0367e72 to your computer and use it in GitHub Desktop.
load revise in julia 0.6
function isinstalled(pkg)
return try
Pkg.installed(pkg)
true
catch
false
end
end
if isinstalled("Revise")
@schedule begin
println("loading Revise")
sleep(0.1)
@eval using Revise
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment