less-middleware not compiling, getting 404 less-middleware not compiling, getting 404 express express

less-middleware not compiling, getting 404


the problem was:

<link href='/public/less/blog-reset.css' rel='stylesheet' type='text/css'/>

should have been:

<link href='/less/blog-reset.css' rel='stylesheet' type='text/css'/>

i read that:

link(rel='stylesheet', type='text/css', href='css/styles.css')

was paired with directory structure:

myapp+-public  +-css    +-styles.less

which led me to believe that this call:

app.use(express.static(path.join(__dirname,'public')));

makes the request assume /public/ is the parent so i was being redundant calling /public/less/blog-reset.css

reference was found here: express.js less compiler: can not get work