Thanks, that helped me get everything working! I think this would be useful to add to the docs somewhere (either in elm-webpack-starter or in the elm tutorial itself, since it does mention webpack elsewhere).
martin On Tue, Nov 8, 2016 at 3:54 AM, Wouter In t Velt <[email protected]> wrote: > I use elm-webpack-starter too, with ports. > > In webpack, the watcher automatically rebuilds whenever you change a file. > Not only one of the elm files, but also when you change index.js or > index.html. > > You can change your index.js, or create a new *.js file which you require > into index.js, or add a <script> tag for in index.html. > And if webpack is running, then the build tool will make it available for > your localhost. > > Like Peter said, with webpack you do not need to compile your elm code > separately. > > -- > You received this message because you are subscribed to the Google Groups > "Elm Discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
