my project uses SASS for styling and i’m getting an issue with caching. for some reason the CSS file is not updated when i make changes to the SASS. any idea why this might be happening?
you can see from the SASS and the final CSS that it is not being updated.
seems like the problem was the order of these lines of code:
app.use(sass({ src: __dirname + '/public', dest: '/tmp' })); app.use(express.static('public')); app.use(express.static('/tmp'));
the express.static lines were before the sass() ones…
express.static
sass()
Ah, glad you got it sorted.