Added stylesheet @import into live reload filewatch for a canvas

This commit is contained in:
antopilo
2024-09-13 21:45:56 -04:00
parent 6e92674bba
commit efc4b8bae7
4 changed files with 18 additions and 4 deletions
+5
View File
@@ -50,6 +50,11 @@ namespace Nuake
bool sourceHasChanged = false;
for (auto& fileAssociated : ui->GetCanvas()->GetSourceFiles())
{
if (!fileAssociated)
{
continue;
}
// Re-fetching the file object because the Scan might have invalided the pointer.
if (FileSystem::GetFile(fileAssociated->GetRelativePath())->GetHasBeenModified())
{