Menu icon Foundation
Improve building

While build deletes the whole dir /dist/ it works not optimal in my opinion.
I image that the whole story will need a lot of time with a site with a lot of pages.

If there is no change with layout and no change with another page in /pages/ they should not be rebuild.
For this you maybe should use a timestamp.

I will solve this with moving everything that is finished to another dir.

build

While build deletes the whole dir /dist/ it works not optimal in my opinion.
I image that the whole story will need a lot of time with a site with a lot of pages.

If there is no change with layout and no change with another page in /pages/ they should not be rebuild.
For this you maybe should use a timestamp.

I will solve this with moving everything that is finished to another dir.

Brandon Arnold over 3 years ago

We haven;t seen very crazy build times doing it this way, did you experience a large slowdown?