diff --git a/src/custom-resources.js b/src/custom-resources.js index 8be5cd2af7..1fe7bc3853 100644 --- a/src/custom-resources.js +++ b/src/custom-resources.js @@ -26,7 +26,7 @@ import { getFileHash } from "./hashes.js"; const execFile = util.promisify(child_process.execFile); const NORMALIZED_SIZE = 128; -const RESOURCE_CACHING = true; +const RESOURCE_CACHING = process.env.NODE_ENV == "development" ? true : false; const FOLDER_PATH = getFolderPath(); const RESOURCE_PACK_FOLDER = path.resolve(getFolderPath(), "..", "public", "resourcepacks");