Reloading module after change Julia v1.0 [duplicate]
This question already has an answer here:
How do I reload a module in an active Julia session after an edit?
4 answers
When debugging my code I have to frequently change one module, reload it, and test it, including plotting some results of my code. The only way I currently know to do this with Julia 1.0 is to restart the kernel and reload the modules that way. The problem is that this makes me lose 20 or so seconds each time waiting for my plotting module to compile.
Is there a way to reload the module I am tweaking without unloading e.g. Gadfly so that I don't have to keep recompiling my plotting module?
julia-lang
marked as duplicate by Community♦ Nov 19 '18 at 13:46
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
How do I reload a module in an active Julia session after an edit?
4 answers
When debugging my code I have to frequently change one module, reload it, and test it, including plotting some results of my code. The only way I currently know to do this with Julia 1.0 is to restart the kernel and reload the modules that way. The problem is that this makes me lose 20 or so seconds each time waiting for my plotting module to compile.
Is there a way to reload the module I am tweaking without unloading e.g. Gadfly so that I don't have to keep recompiling my plotting module?
julia-lang
marked as duplicate by Community♦ Nov 19 '18 at 13:46
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
stackoverflow.com/questions/25028873/… See the update to the question and then the relevant answer (i.e. use of Revise.jl)
– hckr
Nov 19 '18 at 13:29
Got it - didn't see that the current solution is at the bottom of that page! My mistake.
– nfernand
Nov 19 '18 at 13:46
add a comment |
This question already has an answer here:
How do I reload a module in an active Julia session after an edit?
4 answers
When debugging my code I have to frequently change one module, reload it, and test it, including plotting some results of my code. The only way I currently know to do this with Julia 1.0 is to restart the kernel and reload the modules that way. The problem is that this makes me lose 20 or so seconds each time waiting for my plotting module to compile.
Is there a way to reload the module I am tweaking without unloading e.g. Gadfly so that I don't have to keep recompiling my plotting module?
julia-lang
This question already has an answer here:
How do I reload a module in an active Julia session after an edit?
4 answers
When debugging my code I have to frequently change one module, reload it, and test it, including plotting some results of my code. The only way I currently know to do this with Julia 1.0 is to restart the kernel and reload the modules that way. The problem is that this makes me lose 20 or so seconds each time waiting for my plotting module to compile.
Is there a way to reload the module I am tweaking without unloading e.g. Gadfly so that I don't have to keep recompiling my plotting module?
This question already has an answer here:
How do I reload a module in an active Julia session after an edit?
4 answers
julia-lang
julia-lang
edited Nov 19 '18 at 14:28
asked Nov 19 '18 at 13:09
nfernand
105118
105118
marked as duplicate by Community♦ Nov 19 '18 at 13:46
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Community♦ Nov 19 '18 at 13:46
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
stackoverflow.com/questions/25028873/… See the update to the question and then the relevant answer (i.e. use of Revise.jl)
– hckr
Nov 19 '18 at 13:29
Got it - didn't see that the current solution is at the bottom of that page! My mistake.
– nfernand
Nov 19 '18 at 13:46
add a comment |
stackoverflow.com/questions/25028873/… See the update to the question and then the relevant answer (i.e. use of Revise.jl)
– hckr
Nov 19 '18 at 13:29
Got it - didn't see that the current solution is at the bottom of that page! My mistake.
– nfernand
Nov 19 '18 at 13:46
stackoverflow.com/questions/25028873/… See the update to the question and then the relevant answer (i.e. use of Revise.jl)
– hckr
Nov 19 '18 at 13:29
stackoverflow.com/questions/25028873/… See the update to the question and then the relevant answer (i.e. use of Revise.jl)
– hckr
Nov 19 '18 at 13:29
Got it - didn't see that the current solution is at the bottom of that page! My mistake.
– nfernand
Nov 19 '18 at 13:46
Got it - didn't see that the current solution is at the bottom of that page! My mistake.
– nfernand
Nov 19 '18 at 13:46
add a comment |
1 Answer
1
active
oldest
votes
I would highly recommend the Revise.jl package which is designed for exactly this.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I would highly recommend the Revise.jl package which is designed for exactly this.
add a comment |
I would highly recommend the Revise.jl package which is designed for exactly this.
add a comment |
I would highly recommend the Revise.jl package which is designed for exactly this.
I would highly recommend the Revise.jl package which is designed for exactly this.
answered Nov 19 '18 at 13:24
fredrikekre
1,8901512
1,8901512
add a comment |
add a comment |
stackoverflow.com/questions/25028873/… See the update to the question and then the relevant answer (i.e. use of Revise.jl)
– hckr
Nov 19 '18 at 13:29
Got it - didn't see that the current solution is at the bottom of that page! My mistake.
– nfernand
Nov 19 '18 at 13:46