diff --git a/less-watch-compiler.js b/less-watch-compiler.js
index <HASH>..<HASH> 100644
--- a/less-watch-compiler.js
+++ b/less-watch-compiler.js
@@ -144,7 +144,7 @@ function getFileExtension(string){
 // Here's where we run the less compiler
 function compileCSS(file){
     var filename = getFilenameWithoutExtention(file);
-    var command = 'lessc --yui-compress '+file.replace(/\s+/g,'\\ ')+' '+argvs[1]+'/'+filename.replace(/\s+/g,'\\ ')+'.css';
+    var command = 'lessc -x '+file.replace(/\s+/g,'\\ ')+' '+argvs[1]+'/'+filename.replace(/\s+/g,'\\ ')+'.css';
     // Run the command
     exec(command, function (error, stdout, stderr){
       if (error !== null)
Update less-watch-compiler.js

--yui-compress seems to be deprecated, replacing with -x.



You can take or leave it, this is what I did to my copy.