Looks great, thanks for this. Dropped it inplace of Autoreload.jl and works 
as advertised from what I've seen thus far. I had been hoping something 
like Autoreload.jl would stick around and be maintained, I find 
Jupyter+Autoreload makes for a really pleasant workflow. 

Marius


On Tuesday, September 20, 2016 at 6:33:24 PM UTC+2, Cedric St-Jean wrote:
>
> Hello, 
>
> ClobberingReload 
> <https://github.com/cstjean/ClobberingReload.jl>.creload("ModuleName") 
> is an alternative to reload("ModuleName") for interactive development. 
> Instead of creating a new module object, it evaluates the modified code 
> inside the existing module object, clobbering the existing definitions. 
> This means that:
>
> using ClobberingReload
> import M
>
> x = M.Cat(4)
>
> ...
>
> creload("M")
>
> M.chase(x)  # no need to reinitialize x
>
> Unlike reload(), it works fine with `using`
>
> using ClobberingReload
> using M
>
> x = Cat(4)
>
> ...
>
> creload("M")
>
> chase(x) 
>
> ClobberingReload also works as a drop-in replacement for *@malmaud*'s 
> great Autoreload.jl <https://github.com/malmaud/Autoreload.jl> package. 
> See this section 
> <https://github.com/cstjean/ClobberingReload.jl#autoreload>.
>
> The package has not been tested as extensively as I would have liked 
> before release, but it's rather simple code, and with 0.5 releasing today 
> and Autoreload being mostly unmaintained 
> <https://groups.google.com/d/msg/julia-users/8eHcaNkiHnc/r61FMk0WBgAJ>, 
> hopefully this can help some 0.5 users. Please file an issue should you 
> encounter a problem.
>
> Install it with
>
> Pkg.clone("git://github.com/cstjean/ClobberingReload.jl.git")
>
>
> Best,
>
> Cédric
>

Reply via email to