1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-10 00:31:51 +00:00
tobspr_shapez.io/electron
Даниїл Григор'єв 6c3f91e587
Basic FS watcher for --load-mod mods
Add a --watch command line flag to be used in tandem with --load-mod.
Chokidar is used to detect file updates, and a page reload is triggered
when there are any changes to watched mod files. Only mods loaded via
--load-mod are affected.

This implementation has a minor issue with how cache is cleared -
removing disk cache is a bit too aggressive - but the only alternative I
could find is to use a non-persistent Electron session, which would get
rid of disk cache entirely (this is not a concern).
2025-06-12 15:22:15 +03:00
..
src Basic FS watcher for --load-mod mods 2025-06-12 15:22:15 +03:00
favicon.icns Update favicon and improve loading time 2022-06-16 09:58:12 +02:00
favicon.ico Update favicon and improve loading time 2022-06-16 09:58:12 +02:00
favicon.png Update favicon and improve loading time 2022-06-16 09:58:12 +02:00
package-lock.json Basic FS watcher for --load-mod mods 2025-06-12 15:22:15 +03:00
package.json Basic FS watcher for --load-mod mods 2025-06-12 15:22:15 +03:00
preload.cjs Rewrite the Electron wrapper (#47) 2025-03-21 16:30:13 +02:00
tsconfig.json WIP: Basic ASAR modding in renderer 2025-04-12 20:06:03 +03:00