gdotdesign / elm-ui

UI library for making web applications with Elm
https://elm-ui.netlify.com
BSD 2-Clause "Simplified" License
920 stars 39 forks source link

Is there a way to rebuild files on change? #34

Closed AlexKovalevych closed 7 years ago

AlexKovalevych commented 7 years ago

Something like elm-build --watch so js will rebuid each time elm files in source directory change

gdotdesign commented 7 years ago

Currently there is no command for that.

Elm-UI uses Browsersync which means that if you open the specific URL (localhost:8002 by default), the page will be reloaded when files change and CSS will be replaced.

If you want to create a command for this it would be awesome. You can find the details for the start / server command here: https://github.com/gdotdesign/elm-ui/blob/master/bin/lib/command/serve.js

gdotdesign commented 7 years ago

I'm closing this since I just released 1.0.0 which removes the requirement of using the elm-ui node package, allowing you to add Elm-UI to your build stack just as a normal Elm package.