generate() now cleans public dir first. Fixes #15
Merge branch 'feature-cleanpublic' into dev