Menu icon Foundation

My Posts

  • 3
    Replies
  • CSS compiling is incomplete

    By Paula Hightower

    scss

    Hi. When I run foundation watch, everything compiles correctly, but when I run foundation build so that I can get everything minified/uglified, it only compiles normalize in the app.css file and none of the other scss imports. Help?

    Last Reply by Amit Pratap about 2 years ago



My Comments

Paula Hightower commented on Paula Hightower's post over 3 years

I tried adding this line to the watch function but it did not help:
 
gulp.watch('src/data/*.json', gulp.series(resetPages, pages, customAssemble, browser.reload));
 
as a side note, I posted this reply a few days ago but somehow it never got posted.

Paula Hightower commented on Paula Hightower's post over 3 years

Ok, so all my css files that I am importing need to start with _ ?
I am importing as such: @import 'imports/modules/header';

Paula Hightower commented on Paula Hightower's post over 3 years

Hi. i have added this line to the watch function and it still does not compile the json changes:
 
gulp.watch('src/data/*.json', gulp.series(resetPages, pages, browser.reload));

Posts Followed

No Content

Following

    No Content

Followers

My Posts

My Comments

You commented on Paula Hightower's post over 3 years

I tried adding this line to the watch function but it did not help:
 
gulp.watch('src/data/*.json', gulp.series(resetPages, pages, customAssemble, browser.reload));
 
as a side note, I posted this reply a few days ago but somehow it never got posted.

You commented on Paula Hightower's post over 3 years

Ok, so all my css files that I am importing need to start with _ ?
I am importing as such: @import 'imports/modules/header';

You commented on Paula Hightower's post over 3 years

Hi. i have added this line to the watch function and it still does not compile the json changes:
 
gulp.watch('src/data/*.json', gulp.series(resetPages, pages, browser.reload));

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content