I wrote bash script converting *.less files into *.css using lessc.
Unfortunately run function from BaseRunserverCommand restarts server only, when *.py files was modified.
How can I solve this?
I wrote bash script converting *.less files into *.css using lessc. Unfortunately run function
Share
Correct overriding code_changed() function seemed a bit hard,so I decided to write my own script converting *.less files which was modified or had no *.css file.
This script is running in reloader_thread():
Tadeck, thank you for clue 🙂
I suppose that this problem could be also solved by editing BaseCommand.option_list