I tried running sails version @beta in production mode:
...
>> Uglifying source ".tmp/public/concat/production.js" failed.
Warning: Uglification failed.
Unexpected token: punc (}).
Line 3807 in .tmp/public/concat/production.js
Use --force to continue.
error: A Grunt error occurred-- please fix it, then restart Sails to continue watching assets
** Grunt :: Fatal Error **
Running "uglify:dist" (uglify) task
{ message: 'Unexpected token: punc (})',
line: 3807,
col: 3,
pos: 98408,
stack: 'Error\n at new JS_Parse_Error
@kokujin this looks to be a problem uglify is having minifying your client-side javascript; check out http://stackoverflow.com/questions/17328998/codekit-uglify-js-unexpected-token-punc-error