SnowdogApps / magento2-frontools

Set of front-end tools for Magento 2 based on Gulp.js
MIT License
430 stars 142 forks source link

Reduce the number of compiled files #434

Closed MaxAlekseyev closed 2 years ago

MaxAlekseyev commented 2 years ago

Hello,

FT compile 10 files, but generally fo development I need only one as usual. How can I cotrol this issue? I can select the theme in cli. I triesd to put the email-fonts.css to ignore block, but no success. The most perfect way will be tisekect the compilation config but the key, but I'm noy sure that this is available without the great headache

image

M

Igloczek commented 2 years ago

Hi, you can use watch task, or dev if you also want a BrowserSync running, it will compile only the stuff you changed, without need of doing anything manually.

MaxAlekseyev commented 2 years ago

How I can use

"ignore": [
  ".test"
]

in a right way?

Igloczek commented 2 years ago

Ignore is in use just for determining the SASS imports tree, it won't prevent files from being complied.

What is wrong with watch task, that you want to force the tools to ignore some stuff?

MaxAlekseyev commented 2 years ago

I got the project with Frontools but working under Windows, watch is not working correctly

Igloczek commented 2 years ago

Did you try to set usePolling?

https://github.com/SnowdogApps/magento2-frontools#watcherjson-structure