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
I have this weird issue where build files are being generated correctly (I see the desired result in my code editor and via the file:// path in my browser), yet when served through DocPad, select changes are not applied.
Below is the build workflow:
A less file is changed, DocPad picks this event up and transpiles into css (using docpad-plugin-less), nothing special here
docpad-plugin-gulp is configured to execute the gulp cssmin task on writeAfter, this works
Below is the cssmin task and the tasks it depends on
However, in development mode I want to link assets/css/screen.css directly (again, this setup does work). I can see in my code editor that the prefixes are applied after each generate, but if I view the files through the console on a DocPad served page, the prefixes are not present. (Neither are the on-screen results.)
My bet is DocPad stores the files somewhere in memory and they're updated after each generate but before my gulp tasks are completed.
I doubt this is caused by autoprefixer itself, because the files are updated correctly outside the DocPad environment. It is neither caused by livereload, as the issue persists while this plugin is disabled.
As the code of this project is available on GitHub, you may try to reproduce the issue there. I don't exclude some stupidity of mine, but that would be an embarrassment :(
The text was updated successfully, but these errors were encountered:
I have this weird issue where build files are being generated correctly (I see the desired result in my code editor and via the
file://
path in my browser), yet when served through DocPad, select changes are not applied.Below is the build workflow:
A less file is changed, DocPad picks this event up and transpiles into css (using
docpad-plugin-less
), nothing special heredocpad-plugin-gulp
is configured to execute the gulpcssmin
task onwriteAfter
, this worksBelow is the
cssmin
task and the tasks it depends onThe resulting minified file is as desired (the placeholders in the form are blue).
However, in development mode I want to link
assets/css/screen.css
directly (again, this setup does work). I can see in my code editor that the prefixes are applied after each generate, but if I view the files through the console on a DocPad served page, the prefixes are not present. (Neither are the on-screen results.)My bet is DocPad stores the files somewhere in memory and they're updated after each generate but before my gulp tasks are completed.
I doubt this is caused by autoprefixer itself, because the files are updated correctly outside the DocPad environment. It is neither caused by livereload, as the issue persists while this plugin is disabled.
As the code of this project is available on GitHub, you may try to reproduce the issue there. I don't exclude some stupidity of mine, but that would be an embarrassment :(
The text was updated successfully, but these errors were encountered: