When executing a rust-script with a path dependency, I find that sometimes editing code in the path dependency does not trigger a rebuild of the dependency. The behavior I am experiencing does not seem to be always consistent. Sometimes, I'll notice that the behaviour of the script does not match a change I made in the dependency, I'll add some random letters to the path dependency to see if I can force a rebuild (it does), but then when i remove the random letters it goes back to using some stale copy of the path dependency.
When executing a rust-script with a path dependency, I find that sometimes editing code in the path dependency does not trigger a rebuild of the dependency. The behavior I am experiencing does not seem to be always consistent. Sometimes, I'll notice that the behaviour of the script does not match a change I made in the dependency, I'll add some random letters to the path dependency to see if I can force a rebuild (it does), but then when i remove the random letters it goes back to using some stale copy of the path dependency.