I'm not sure if this is related to #73 but I wanted to log my experience because it took me a while to figure out what was going on. I thought I could run eleventy and have it output to dist/ and then tell wmr to use dist/ as its public directory with the hopes that it would overwrite the files in there. Maybe a bad idea but I didn't realize that under the hood wmr also wants to create a dist/ directory. When I would run my build script, eleventy would create the dist/ dir, and then wmr would delete the dist/ dir and complain that it couldn't find the dist/ dir. I'm assuming this is because wmr starts with a clean step that tries to remove dist/.
I figure the correct sequence of steps would be to have eleventy output to an intermediate dir, like public, and then let wmr work against that. Though it's kind of a bummer to have src -> intermediate -> output in my project.
I'm not sure if this is related to #73 but I wanted to log my experience because it took me a while to figure out what was going on. I thought I could run eleventy and have it output to
dist/
and then tell wmr to usedist/
as its public directory with the hopes that it would overwrite the files in there. Maybe a bad idea but I didn't realize that under the hood wmr also wants to create adist/
directory. When I would run my build script, eleventy would create thedist/
dir, and then wmr would delete thedist/
dir and complain that it couldn't find thedist/
dir. I'm assuming this is becausewmr
starts with a clean step that tries to removedist/
.I have the following eleventy setup:
package.json
.eleventy.js
I figure the correct sequence of steps would be to have eleventy output to an intermediate dir, like
public
, and then let wmr work against that. Though it's kind of a bummer to have src -> intermediate -> output in my project.