Reloading module after change Julia v1.0 [duplicate]












0















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?










share|improve this 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
















0















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?










share|improve this 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














0












0








0








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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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


















  • 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












1 Answer
1






active

oldest

votes


















1














I would highly recommend the Revise.jl package which is designed for exactly this.






share|improve this answer




























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    I would highly recommend the Revise.jl package which is designed for exactly this.






    share|improve this answer


























      1














      I would highly recommend the Revise.jl package which is designed for exactly this.






      share|improve this answer
























        1












        1








        1






        I would highly recommend the Revise.jl package which is designed for exactly this.






        share|improve this answer












        I would highly recommend the Revise.jl package which is designed for exactly this.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 19 '18 at 13:24









        fredrikekre

        1,8901512




        1,8901512















            Popular posts from this blog

            Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

            ts Property 'filter' does not exist on type '{}'

            Notepad++ export/extract a list of installed plugins