middleman-startae icon indicating copy to clipboard operation
middleman-startae copied to clipboard

Disable webpack cleaning on Linux development

Open vitorp opened this issue 7 years ago • 0 comments

Done in this PR

When running middleman s on a Linux machine the clean-webpack-plugin cleaning causes middleman to stop serving the assets. This was solved by making plugin param an empty array on Linux. Also this isn't a problem for production builds since middleman doesn't serve those, so i also check if the env is development.

Known issues
  • Linux users will need to clean .tmp manually.
To-do
Demo

Please review it, @startae/frontend-team.

vitorp avatar Oct 05 '18 00:10 vitorp