Closed luke-j closed 8 years ago
I'm afraid it's too specific problem with too many unknowns to suggest anything helpful. Personally I'd start to narrow this down by looking into exec()
timeout things, but in general it can be virtually anything (incl. hardware problems).
Hmm, I understand. For the moment I've simply removed write access to the import file, which seems to do the trick. I'm as confused as you are as to what exactly is causing this.
my guess is it's quite unlikely to be lessc modifying that file.
my guess is it's quite unlikely to be lessc modifying that file.
Yes, this is almost for sure since neither Less itself (nor Node in general) even open this file for writing...
Closing as not a Less issue.
I'm running lessc v1.4.2 from the command line via PHPs exec() function. Recently though it's been occasionally scrambling the file I'm using to import the other .less files. The file ends up looking like this (shortened):
Any help is much appreciated!