dragoman
dragoman copied to clipboard
Gulp task translating json to less improperly when running multiple gulptasks
To build less assets properly, run the gulp task 'dragoman-less' by itself. Notice the output files are in proper .less syntax:
@color-orange: #f26322;
When running multiple translation tasks ('dragoman-web', which runs less, sass, scss, and stylus translations asynchronously) less output is not correct. It appears as if it is being translated in sass format:
$color-orange: #f26322
(no semicolon & using '$' as variable indicator).
This problem is likely happening within the loop, but i'm not sure where, why, or how. Gulp plugin that is used to make translation is gulp-json-css.
Hmmm. I did a checkout of 861d85f3e25468b19786e89fda13beaf02cb638b. This problem existed even before the fix for #25. I'll take a look though and see if I can figure out what is going on.
I wasn't seeing the issue before that commit, but thank you for taking a look!
Thank you,
- Nate
[image: Nate Baldwin] email | [email protected] web | natebaldw.in phone | (720)345-1656
On Fri, Sep 30, 2016 at 10:54 AM, Joshua Eagle [email protected] wrote:
Hmmm. I did a checkout of 861d85f https://github.com/NateBaldwinDesign/Dragoman/commit/861d85f3e25468b19786e89fda13beaf02cb638b. This problem existed even before the fix for #25 https://github.com/NateBaldwinDesign/Dragoman/issues/25. I'll take a look though and see if I can figure out what is going on.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NateBaldwinDesign/Dragoman/issues/32#issuecomment-250795975, or mute the thread https://github.com/notifications/unsubscribe-auth/ANUy5jFmRNv0e7iVqx2Ufz2uXGmw6vYDks5qvT6zgaJpZM4KKLOk .