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.
