T
T
tripcollor2017-06-01 21:28:37
HTML
tripcollor, 2017-06-01 21:28:37

Is there an html import for gulp that watches for changes to imported files (something like jade but with html syntax)?

Used to use jade for these purposes.
You do the import of the file and everything is fine, but now I decided for myself that html is better and there is a critical lack of imports, everything would be in chocolate with it.
I tried gulp-file-include but it just replaces the written import with the code of the imported file, i.e. if I make changes to the imported file, they will not be overwritten in the main document.
We need such an import solution like jade but with html syntax, is there really no solution or did I google badly?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey delphinpro, 2017-06-01
@tripcollor

like jade but with html syntax

gulp-twig
But the problem is most likely something else. You just need to watch for changes in the entire html source folder and re-run the html build task. Then any plugin will do. Incl. specified by you. Your situation can only arise if you are tracking one file or one directory level, with no nested ones.

A
Alexander Lysenko, 2017-06-01
@AlexanderZe

gulp-rigger

I
iBird Rose, 2017-06-01
@iiiBird

and what prevents typesetting in php and connecting via php.net/manual/ru/function.require.php

L
LeoSam1000, 2020-10-28
@LeoSam1000

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question