From 8bd588e86787f49b63fc8a172ecbab88f98a1eba Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 19 Jul 2017 09:04:10 +0100 Subject: [PATCH] Delete rice boxes with dev script Former-commit-id: e62473913b7a4cc08226c04e9f5ce7d756259616 [formerly 25f1ad0f294af344b4ad371dc9d204822d235738] [formerly 20343ed3e251b46cf8e5dcdc382dc3e5dcb83604 [formerly c445ddb8f03a78fbce395a3f8b65d7b769cbf048]] Former-commit-id: 2cd795c699efb7d07b8abffc4aa002bb741eb5fc [formerly 6c41825f6b05d62b24a74dbdd4befd0f7853a2b3] Former-commit-id: 3767e4a151fa1ab719f44de66c2de4557ab102b7 --- assets/build/dev.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/build/dev.js b/assets/build/dev.js index e00be9e7..35f785a3 100644 --- a/assets/build/dev.js +++ b/assets/build/dev.js @@ -8,6 +8,10 @@ var chalk = require('chalk') var webpack = require('webpack') var config = require('./config') var webpackConfig = require('./webpack.dev.conf') +var fs = require('fs') + +fs.unlinkSync('./rice-box.go') +fs.unlinkSync('./caddy/hugo/rice-box.go') rm(path.join(config.assetsRoot, config.assetsSubDirectory), err => { if (err) throw err