You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the default task, gulp runs also assets:copy.
Is this useful?
After any edit to Jekyll contents, the dist/assets directory disappears as it's overwritten by Jekyll.
This could lead to an inconsistent, undocumented state. If a dev assumes that the contents of the dist directory always represent the finalized build, he/she could deploy an incomplete artifact with the 'dist/assets' directory missing.
I run the assets:copy task only with the build one, when I know that I am building the final package.
Any thoughts on this? Thanks
EDIT: this could be expanded avoiding the dist directory altogether unless running gulp build.
The text was updated successfully, but these errors were encountered:
Huh, I hadn't actually thought of that. Thanks, I'll figure something out for this. Not sure what it'd be though, I'd like for the folder to be in a state where you could upload it without having to run --prod on it as well or having to do gulp build, but I'm not sure there's a good way to do that yet. I'll take a look once I'm done with my exams.
It could be done by a watch task that on all the .tmp subdirectories (see #127) used to serve content. I'll try to refine my current approach this way and let you know.
When running the
default
task, gulp runs alsoassets:copy
.Is this useful?
After any edit to Jekyll contents, the
dist/assets
directory disappears as it's overwritten by Jekyll.This could lead to an inconsistent, undocumented state. If a dev assumes that the contents of the
dist
directory always represent the finalized build, he/she could deploy an incomplete artifact with the 'dist/assets' directory missing.I run the
assets:copy
task only with thebuild
one, when I know that I am building the final package.Any thoughts on this? Thanks
EDIT: this could be expanded avoiding the
dist
directory altogether unless runninggulp build
.The text was updated successfully, but these errors were encountered: