Browse Source

Disable view cache for debugging

dev/git-series/gccdum
Matt Godbolt 6 years ago
parent
commit
2625f4f462
  1. 2
      Makefile
  2. 1
      app.js

2
Makefile

@ -72,7 +72,7 @@ clean:
$(MAKE) -C c-preload clean
run: prereqs
$(NODE) ./node_modules/.bin/supervisor -w app.js,lib,etc/config -e 'js|node|properties|pug' --exec $(NODE) -- ./app.js --language $(LANG) $(EXTRA_ARGS)
$(NODE) ./node_modules/.bin/supervisor -w app.js,lib,etc/config -e 'js|node|properties' --exec $(NODE) -- ./app.js --language $(LANG) $(EXTRA_ARGS)
HASH := $(shell git rev-parse HEAD)
dist: prereqs

1
app.js

@ -516,7 +516,6 @@ findCompilers()
webServer
.set('trust proxy', true)
.set('view engine', 'pug')
.set('view cache', true)
.use(morgan('combined', {stream: logger.stream}))
.use(compression())
.get('/', function (req, res) {

Loading…
Cancel
Save