Closed dpoirier closed 4 years ago
I was thinking it didn't actually write the results to a file in the case of "npm run dev", but I can double-check that, maybe that's more of a Vue thing.
@dchukhin I did some testing and the touch() function we're using will not create a file if it doesn't exist, which was what I was worried about, so I updated the PR to just always call touch() to simplify things.
Gulp is setting the modtime on bundle.css to the modtime of index.less, even if other .less files that it includes are newer. And collectstatic only copies files if the source file's modtime is newer than an existing target file's modtime. So, Gulp might be recompiling the styles, but collectstatic won't copy them because they don't look newer than what's already there.