Canop / bacon

background rust code check
https://dystroy.org/bacon
GNU Affero General Public License v3.0
1.59k stars 57 forks source link

Watch & Workspace: path error #197

Open VincentBerthier opened 2 days ago

VincentBerthier commented 2 days ago

Hey there, I’m trying out Bacon on a rather complex project organized in a Workspace. I’ve configured a number of jobs, which are all launched correctly, no problem.

However, the watch directories are borked. From what I see in the logs, the directories in the watch use the first crate as the root. For example let’s say ̇I have: Folder1 Folder2 If I put watch = ["Folder1", "Folder2"] then beacon will complain that it can’t find "/root/path/Folder1/Folder1" and "/root/path/Folder1/Folder2".

If I put watch = ["../Folder1", "../Folder2"] however it seems to be working just fine.

Canop commented 2 days ago

Can you please build a project exhibiting this problem (it doesn't have to have many files) ?

VincentBerthier commented 2 days ago

Uh, there are a lot of things, and it’s a work project, so not something I can share like that. I can give you the logs and the configuration though, and it’s…well, even weirder that I thought in fact.

With crates A, B and C, if I put watch = [A, B, C], it seems that it will

bacon.log bacon.txt