Is it possible to automatically add a timestamp on the compiled CSS file using SASS? e.g.
/* CSS Compiled on: {date+time} */
...compiled css goes here...
If you are using the command line version of SCSS you can do the following:
Install sass-timestamp
gem install sass-timestamp
Use it within your code like (see documentation for more information)
/* Compiled on #{timestamp()} */
Require it on the command line
scss -r sass-timestamp ...
Output will be
/* Compiled on 2015-02-02 13:01:40 +0800 */
Note: Use #{unix_timestamp()}
for a unix timestamp