Skip to content

Instantly share code, notes, and snippets.

@openam
Created April 28, 2014 16:38
Show Gist options
  • Select an option

  • Save openam/11377287 to your computer and use it in GitHub Desktop.

Select an option

Save openam/11377287 to your computer and use it in GitHub Desktop.
Compile Less with Source Map
#!/bin/sh
lessc css/styles.less > css/styles.css --source-map=css/styles.css.map --source-map-basepath=css/
NOW=$(date)
echo "Recompiling less completed $NOW"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment