You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# mise.toml
[[watch_files]]
patterns = ['pyproject.toml']
run = 'uv sync'
It works but only the next time a mise command is ran or, in the case of shell activation, when the shell prompt loads again. Which, in my case, happened after running a different command with the output being mixed together:
❯ mise use -g ubi:tamasfe:taplo
mise ERROR HTTP status client error (404 Not Found) for url (https://api.github.com/repos/tamasfe:taplo/releases)
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information
warning: No `requires-python` value found in the workspace. Defaulting to `>=3.12`.
Resolved 5 packages in 969ms
Built copier-py-package @ file:///home/rsyring/projects/copier-py-package
Prepared 3 packages in 255ms
Uninstalled 1 package in 0.68ms
Installed 3 packages in 2ms
+ blazeutils==0.7.0
~ copier-py-package==1.20241017.2 (from file:///home/rsyring/projects/copier-py-package)
+ wrapt==1.17.2
In the above output, the mise ERROR lines are from the command and everything else is from the uv sync. I don't like this approach and, if something like this is desired, we should look at something that runs in the background and whose output is not mixed with shell commands. Maybe supervisord (#10) or similar.
https://mise.jdx.dev/hooks.html#watch-files-hook
The text was updated successfully, but these errors were encountered: