Beta testers needed: New feature in elm-live

twitter logo github logo ・1 min read

I just released a beta for elm-live that adds the ability to pass multiple arguments to the --before-build and --after-build flags. Would love some people to test it out and let me know what they think!

Install: npm install elm-live@beta [--save-dev]

This opens up the ability to chain multiple scripts into a script file that takes arguments, or make an npm script that chains different commands.

elm-live src/Main.elm --before-build="npm run things" --after-build="customstuff.sh --flag"
twitter logo DISCUSS (4)
markdown guide
 

Do I need to use Elm 0.19? Because I'm currently using Elm 0.18 for educative purposes. There are not so much material for the 0.19th version.

 

Yeah, this feature only works for the elm-live version for 0.19.

What do you mean there is not a lot of material for 0.19? In elm-live docs or general elm docs? Would love to help you find the material you are looking for! 😊

 

I don't mean docs. I mean books and video courses.
Well, I'm going to use 0.19 for sure just a little bit later. When I finish reading and watching what I started.

Ah, gotcha. I do know that Richard Feldman did a pretty comprehensive workshop covering 0.19 both intro and advanced concepts if you are interested: frontendmasters.com/courses/

Classic DEV Post from Oct 9 '18

A Beginner's Guide to JavaScript's Prototype

You can’t get very far in JavaScript without dealing with objects. They’re foundational to almost every aspect of the JavaScript programming language. In this post you’ll learn about a variety of patterns for instantiating new objects and in doing so, you’ll be gradually led to understanding JavaScript’s prototype in depth.

William King profile image
Front End Dev @ Skillcrush. I have a background in design from Auburn University, but started learning programming and haven't looked back since.

Still don't have a dev.to account? You're welcome to lurk, but it's better to be part of the community.

Sign up now ❤️