Skip to content

File watching

Kunal Nagpal edited this page Apr 24, 2016 · 5 revisions

File watching allows you to bind event handlers to a specific action (in this case, file changes), triggering a predefined set of tasks. This is an important step toward automation, particularly for transpiling and static asset compression. Ensure that you have run npm install in the project directory before performing these steps.

  • WebStorm: Run npm run watch in the project's root directory.

  • Atom:

Run apm install atom-beautifier minify, and opt to compress static asset files on save via the Settings menu.