diff --git a/tgui/packages/tgui-dev-server/reloader.js b/tgui/packages/tgui-dev-server/reloader.js index 988088f731b..c13a8afdfcf 100644 --- a/tgui/packages/tgui-dev-server/reloader.js +++ b/tgui/packages/tgui-dev-server/reloader.js @@ -66,6 +66,8 @@ export const findCacheRoot = async () => { const onCacheRootFound = (cacheRoot) => { logger.log(`found cache at '${cacheRoot}'`); + // Plant a dummy browser window file, we'll be using this to avoid world topic. For byond 514. + fs.closeSync(fs.openSync(cacheRoot + '/dummy', 'w')); }; export const reloadByondCache = async (bundleDir) => { @@ -96,7 +98,7 @@ export const reloadByondCache = async (bundleDir) => { './*.+(bundle|chunk|hot-update).*' ); try { - // Plant a dummy browser window file, we'll be using this to avoid world topic + // Plant a dummy browser window file, we'll be using this to avoid world topic. For byond 515. fs.closeSync(fs.openSync(cacheDir + '/dummy', 'w')); for (let file of garbage) {