deepsweet / start

:red_circle: Functional task runner for Node.js
https://start.js.org/
MIT License
476 stars 19 forks source link

Unable to find "tasks.js" file, please check it again #24

Closed laggingreflex closed 7 years ago

laggingreflex commented 7 years ago

The tasks file in the docs uses ES6 syntax (import/export), which start-cli is not able to parse natively by default which makes it gives a slightly misleading error: Unable to find "tasks.js" file, please check it again

It should give a more faithful error, like "unable to parse" or something. The docs probably should also use ES5 syntax?

Awesome project btw, just found it and trying it out.

deepsweet commented 7 years ago

thanks for the report and PR, I'll take a look later today and will fix this issue for sure, it's definitely a bug.

Awesome project btw

glad you like it :)

deepsweet commented 7 years ago

https://github.com/start-runner/simple-cli/releases/tag/v4.1.1