Skip to content

Commit 4ad13fb

Browse files
committed
Add Includes section
1 parent 7508387 commit 4ad13fb

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,15 @@ available in your templates, e.g. `<%= this.somePropery %>`.
6767
Character used inside of angle brackets marking opening/closing tags.
6868
Defaults to `'%'`, as in `<%= some.variable %>`.
6969

70-
**Note:** The EJS `filename` option is set automatically, so you may
71-
include partials relative to your template files.
70+
## Includes
71+
72+
The EJS `filename` option is set automatically, so you may include partials
73+
relative to your template files. If you want your included files to
74+
automatically recompile in **watch mode**, be sure to use the following syntax:
75+
76+
```
77+
<% include some/file %>
78+
```
7279

7380
## License
7481

0 commit comments

Comments
 (0)