mirror of
https://github.com/penpot/penpot.git
synced 2026-09-30 15:56:17 +00:00
copyAssets uses rsync --delete which removes the sprites/ directory from resources/public/images/ because it only exists in public, not in the source resources/images/ tree. compileSvgSprites must run AFTER copyAssets so the generated sprites are not deleted before compileTemplates reads them. The initial build sequence (lines 65-70) already had the correct order; the watch handlers in watch.js and watch-storybook.js were reversed.