Skip to content

Update files.json on reexporting events#288

Open
RblSb wants to merge 1 commit intoKode:mainfrom
RblSb:reexporting-files-json
Open

Update files.json on reexporting events#288
RblSb wants to merge 1 commit intoKode:mainfrom
RblSb:reexporting-files-json

Conversation

@RblSb
Copy link
Copy Markdown
Contributor

@RblSb RblSb commented Apr 15, 2026

  • Added AssetType/AssetInfo types instead of using any and changed extension switches to assetType switches
  • AssetConverter.onAssetChanged/onAssetRemoved callbacks send info to main.ts for files.json update
  • Some refactoring to use writeResourcesJson/sortFiles functions for less code duplication
  • Minor changes like !., type | null usage to silent some nullsafety errors that doesn't affect compilation, but showing up in vscode for some reason.

This is related to Kode/Kha#1524 and will update project kha.Assets lists on haxe file resave after you add/remove assets in --watch mode, without project rebuilds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant