Skip to content

Commit

Permalink
Issue #1679. Update dev-env-setup.md to mention the need to re-build …
Browse files Browse the repository at this point in the history
…after modifying .jst templates.
  • Loading branch information
Mike Taylor committed Jul 28, 2017
1 parent 843ca70 commit b54168a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/dev-env-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ After certain kinds of changes are made, you need to build the project before se

* 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`).
* JS: a build will run eslint, minify and concat source files.
* 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.
* HTML templates: the changes should be served from disk without the need for rebuilding
* Python: the Flask local server will detect changes and restart automatically. No need to re-build.

Expand Down

0 comments on commit b54168a

Please sign in to comment.