Is there a way to trap signal on reloading in order to do some cleanup?
It seems that micro-dev does not trigger usr signal and so I cannot do trap.
see https://stackoverflow.com/questions/14031763/doing-a-cleanup-action-just-before-node-js-exits (which does not work)
Is there a way to trap signal on reloading in order to do some cleanup?
It seems that micro-dev does not trigger usr signal and so I cannot do trap.
see https://stackoverflow.com/questions/14031763/doing-a-cleanup-action-just-before-node-js-exits (which does not work)