smnedelko / PixelAdmin

Issue tracker repository
6 stars 0 forks source link

pixel 2.3.1 - CSS building goes 'crazy' #14

Open amitai52 opened 7 years ago

amitai52 commented 7 years ago

My dest dir for CSS is in another folder (PHP framework) that folder should include the PX output: bootstrap + rtl, and pixeladmin.css + rtl

I also add to that folder CSS of other libs like: font-awesome, ion-icons (which I want to serve locally, not from CDN)

when I do npm run watch or re-compile the CSS manually it'll take, lets say fa.min.css and make: fa.min.rtl.css

Then the next time I'll get fa.min.rtl.min.css and fa.min.rtl.min.rtl.css

each time the same files get re-compiled, and the names grow longer and I get more and more files in CSS dir screen shot 2017-04-25 at 12 44 12 ... I added a screen-shot to illustrate

It would be best of watch/compile CSS won't re-compile resource it doesn't need / OR would stop this behavior ...

Thanks Dan

amitai52 commented 7 years ago

@smnedelko sorry to see there is no answer here. :/

one of our developers changed pixeladmin/tasks/css.js line 97 to: return gulp.src([ path.join(CSS_DIST_PATH, '**/*.css'), '!' + path.join(CSS_DIST_PATH, '**/*.rtl.css'), '!' + path.join(CSS_DIST_PATH, '**/*.min.css') ])

maybe it helps ...