Stamp built bundles with dev_bundle vno.

This commit is contained in:
Nick Martin
2012-04-25 15:26:59 -07:00
parent b0af1751c7
commit 1af36d2643

View File

@@ -495,6 +495,11 @@ _.extend(Bundle.prototype, {
else
/* dev_bundle_mode === "skip" */;
fs.writeFileSync(
path.join(build_path, 'server', '.bundle_version.txt'),
fs.readFileSync(
path.join(files.get_dev_bundle(), '.bundle_version.txt')));
// --- Static assets ---
if (is_app) {