mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 19:56:41 +02:00
Move .less files to dev/less
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
const fs = require('fs');
|
||||
const spawn = require('child_process').spawn;
|
||||
|
||||
process.argv.slice(2).forEach(function(file) {
|
||||
fs.watch(file, function(e) {
|
||||
if (e === 'change') {
|
||||
spawn('lessc', ['main.less', 'static/css/main.css']);
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user