rules_scala icon indicating copy to clipboard operation
rules_scala copied to clipboard

Semanticdb clear dir

Open crt-31 opened this issue 9 months ago • 0 comments

Description

This change clears out and deletes the _semanticdb folder before compiling. This is similar to how ScalacWorker was already clearing out the _classes directory.

Motivation

I ran into a bug where, when you delete a source *.scala file, it's associated semanticdb file remained and was read-only which caused permission errors when the compiler tried to clear the semanticdb output directory.

crt-31 avatar May 18 '24 04:05 crt-31