Update logic code

Update logic code for un-writable file when compile less file in Devmode