watch cdn, not dist

pull/1369/head
konnorrogers 2023-06-13 09:31:02 -04:00
rodzic 514a7f3d51
commit 5ba2c7eeec
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -218,7 +218,7 @@ module.exports = function (eleventyConfig) {
eleventyConfig.setServerOptions({
domDiff: false, // disable dom diffing so custom elements don't break on reload,
port: 4000, // if port 4000 is taken, 11ty will use the next one available
watch: ['dist/**/*'] // additional files to watch that will trigger server updates (array of paths or globs)
watch: ['cdn/**/*'] // additional files to watch that will trigger server updates (array of paths or globs)
});
//