"Reload" package in Pkg3

I have trouble reloading a package so that the changes are taking into account.

Here’s what I did:

  • Opened atom
  • Went to the shell mode of the REPL
  • cd'd to a folder where I store my dev packages
  • Went to the Pkg mode, did generate Psycho
  • Did activate . then import Psycho
  • This created the package basics
  • Created a github repo, and connected the local folder to its repo (which you can find here)
  • Made a slight modification to Psycho.jl to include another file of functions
  • However, when I run again import Psycho or using Psycho to “reload” the package (as stated here) after changing a function, it doesn’t take the changes into account.

I must restart Julia and activate the package and then import it and then it works. What am I doing wrong? Thank you!

1 Like

Use

Thanks!