--watchflag to perform linting on every file save.
sandpaper --lint --strictis used to check for code style problems, keeping code consistantly readable accross different developers
sandpaper --syncwatches files for changes, and automatically builds and reloads a webserver with your site.
npm install sandpaper -g
srcforlder, for instance, if you have
C:\\SomeProject\srcopen command prompt in the
sandpapercommand with your desired flags. all available flags are listed under [flags]
Check code for errors.
Optimize code and save to /dev or /dist (if --production is specified.)
Start browser syncronized server, compiles code on change.
Lint codding style in addition to errors.
(Planned feature, not currently available)
fixes coding style issues, such as tabs/spaces, indentation, and css property order.
Remain running, re-lint or re-build whenever a file is changed.
Build for production, Don't include sourcemaps and minify code.
--strict flag is not specified
--strict flag is specified