Minor issue when using npm run dev
and installing tasks in a subfolder
#290
Labels
dev/docs
Developement tools and documentation
npm run dev
has a "watch" feature, which keeps checking in subfolders for file changes.If you set the
fractal-server
FRACTAL_TASKS_DIR
environment variable to be a subfolder of the one where you runnpm run dev
, then it will also watch the tasks venvs. And because there are quite a few tasks, it will fail with a traceback like the one below.This is a very minor issue, but fixing it could make some testing easier (so that one does not need to reinstall tasks multiple times, e.g. if they are in some
/tmp
folder).In principle we could tackle this by configuring
vite
appropriately, see e.g. vitejs/vite#8619The text was updated successfully, but these errors were encountered: