Run these commands: ``` echo "require('fs').watch(__dirname).on('change', console.log)" > watch.js node watch.js & echo "" > watch.js ``` To get this output: ``` change watch.js change watch.js ``` I'm running node v4.1.1 on Linux Mint 17.
Run these commands:
To get this output:
I'm running node v4.1.1 on Linux Mint 17.