-
Notifications
You must be signed in to change notification settings - Fork 286
Open
Labels
Description
What happened?
I'm working on a local plugin. I'd expect that if I enter the devbox shell and a file in create_files is missing/stale, it would be created/overwritten, but that doesn't seem to be the case. The file, even if deleted, remains unaffected.
I'd expect this to copy the file again on each devbox shell evaluation, ensuring a local plugin can manage the files in the virtenv correctly.
Steps to reproduce
I've made a dummy repo to reproduce this: https://github.com/tomtaylor/devbox-bug
- Clone the repo
devbox shell- The plugin will have created a
test.txtat.devbox/virtenv/test/test.txtcontaining123 - Change the source file in the plugin (
plugin/test/test.txt) to something else - Exit and reenter the shell
.devbox/virtenv/test/test.txtis still123
Command
shell
devbox.json
Devbox version
0.16.0
Nix version
2.33.0
What system does this bug occur on?
macOS (Apple Silicon)
Debug logs
n/a
{ "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.16.0/.schema/devbox.schema.json", "packages": [], "shell": { "init_hook": ["echo 'Welcome to devbox!' > /dev/null"], "scripts": { "test": ["echo \"Error: no test specified\" && exit 1"] } }, "include": [ "path:./plugins/test" ] }