Skip to content

Commit bac9ef4

Browse files
author
Mike Taylor
committed
Issue #1679. Update dev-env-setup.md to mention the need to re-build after modifying .jst templates.
1 parent 1c5bb2d commit bac9ef4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/dev-env-setup.md

+1
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ After certain kinds of changes are made, you need to build the project before se
198198

199199
* CSS: a build will run cssnext, combine custom media queries, and concat all source files into webcompat.dev.css. You'll need to re-build the CSS to see any changes, so it's recommended to use a watch task (see `npm run watch`).
200200
* JS: a build will run eslint, minify and concat source files.
201+
* JS templates (.jst files): if you are making changes to a Backbone template in a `.jst` file, you will need to re-run the `build` command to update the pre-compiled `templates.js` file before you will see the results.
201202
* HTML templates: the changes should be served from disk without the need for rebuilding
202203
* Python: the Flask local server will detect changes and restart automatically. No need to re-build.
203204

0 commit comments

Comments
 (0)