K
K
knotik2014-12-19 12:19:31
phpstorm
knotik, 2014-12-19 12:19:31

How to compile the parent slim file while editing the child?

There is a parent file index.html.slim , the header.slim file is imported into it , with the command:
== Slim::Template.new("header.slim", :pretty=>true).render
when changing and recompiling the header.slim file , you need to go to index.html.slim every time and recompile.
Is it possible to make the index.html.slim file update itself when the incoming files change?
phpStorm editor if that matters)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question