Subscribe on changes!

fix: check `fs.promise` before using it

avatar
Apr 30th 2020

Add a simple check for fs.promise API otherwise the user will always get "Error: target directory alreay exists." error if his/her node version is below v10.0.

avatar
Apr 30th 2020

The package.json specified minimum node version of 10. The package manager should have already warned if the user installed vite with a Node version of below 10.