From c162b4d59e01974cc1b8b8c6a0e276aa56e607a9 Mon Sep 17 00:00:00 2001 From: CodeSteak Date: Sun, 12 Jan 2020 19:41:27 +0100 Subject: [PATCH] Disable Cache for template. This improves the workflow --- prototype/src/main/resources/application.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 prototype/src/main/resources/application.yml diff --git a/prototype/src/main/resources/application.yml b/prototype/src/main/resources/application.yml new file mode 100644 index 0000000..2a40c20 --- /dev/null +++ b/prototype/src/main/resources/application.yml @@ -0,0 +1,10 @@ +spring: + # Templates reloading during development + thymeleaf: + prefix: file:src/main/resources/templates/ + cache: false + + # Static resources reloading during development + resources: + static-locations: file:src/main/resources/static/ + cache: false