oakmac / cuttle

User Interface for the ClojureScript Compiler
MIT License
315 stars 11 forks source link

ensure directories and files exist; prevent ENOENT error #92

Closed oakmac closed 9 years ago

oakmac commented 9 years ago

re: Issue #74

We should use fs-extra's ensureDir on app load to make sure app-data exists as well as any other directories or files we depend on touching.

In other words, Cuttle users should never see an ENOENT error.

oakmac commented 9 years ago

cuttle-error-on-windows

Saw this error on a fresh install on Windows 7.

oakmac commented 9 years ago

Think commit 29e84be should do the trick, but this needs testing. Paging @NPrescott

NPrescott commented 9 years ago

Working for me, no errors in a fresh Windows install.

:+1:

oakmac commented 9 years ago

thank you sir!