I am developing a package on my laptop. But I actually need it to run a server. So what I do is to test the code locally until it’s ready, and then rsync the package folder to the server.
It works when I first tried it yesterday. But now I made some new changes, synchronized the code again, and the modification does not work on the sever. It always runs the code from yesterday on the sever, even if I have checked the source code has been correctly synchronized.
I tried to delete .julia/complied/v1.1/mypackge. I tried to remove my own package from default environment and add it again. Nothing seems to work.
What can be the reason for such bizarre problem? I guess I must have messed up package system somehow.
I also see this line when I run update in package mode
Updating git-repo `/home/myname/somepahte/mypackage
Could it has something to do with git? I am using it to tracking my code and the .git folder in the package is also copied to the server.
What should be a proper way to synchronize code to another machine?