The salesforce-alm plugin provides a series of commands to aid in Force.com development.
npm install --global gulp-cli.
npm installto bring in all the dependencies.
gulp compileto transpile your changes and output them in the dist folder.
If you are lazy to invoke
gulp compile each time, you can do
gulp watch which will run the compilation in the background.
If you are using VSCode, you can do Cmd + Shfit +B instead of using
If you are using IntelliJ, be sure to configure it to watch the src folder.
For more information refer to the setup guide. https://goo.gl/fa2bNF