Replies: 2 comments
-
Hey @macta, that is a good question!
Why? It is current situation, perhaps it will change in future. |
Beta Was this translation helpful? Give feedback.
-
Hi - thanks for explaining this, but I think my question is actually different (or I could be misunderstanding). The assets I am putting in |
Beta Was this translation helpful? Give feedback.
-
Description
In my brunch_config.js, I added a dev folder to my exports.conventions like this:
exports.conventions = {
ignored: ignoredPaths,
assets: ['site//*', 'dev//*']
};
And I expected to see some files I put in the dev/* directory to be put in my public folder - however they don't seem to appear?
Expected behavior
I shouldn't have to do anything else?
Actual behavior
The files in /dev/* only appear when I also add that directory to my watched paths e.g.
exports.paths = {
public: pipeline.BUILD,
watched: [
pipeline.SRC, pipeline.TEMPLATES, pipeline.SITE, pipeline.PLUGINS, 'scripts', 'dev'
]
};
I'm not sure I should need to do that? If I'm not interested in whether they change, but just want them copied over when something else changes, I didn't think I need to adjust my watched list.
Environment
Beta Was this translation helpful? Give feedback.
All reactions