Giter Club home page Giter Club logo

Comments (9)

bjerga avatar bjerga commented on July 30, 2024 2

@lukewestby Any update on when we can expect version 8.0.0 to be available on npm?

from elm-webpack-loader.

ronanyeah avatar ronanyeah commented on July 30, 2024 1

We may have to publish it ourselves.

from elm-webpack-loader.

sporto avatar sporto commented on July 30, 2024 1

#199 was merged

from elm-webpack-loader.

sporto avatar sporto commented on July 30, 2024

The actual configuration that works for me is adding watch in the webpack config. e.g.

{
  ...
   watch: true
}

Will close this and make a PR for the readme

from elm-webpack-loader.

sporto avatar sporto commented on July 30, 2024

The watch: true worked with the webpack cli version 4.4.0. But doesn't with 4.5.0.
Unsure what is going on.

from elm-webpack-loader.

sporto avatar sporto commented on July 30, 2024

In https://webpack.js.org/configuration/watch/ it says that In webpack-dev-server and webpack-dev-middleware watch mode is enabled by default.

However when running the server I get compiler.options.watch == false

if (compiler.options.watch) {

It appears that is not the proper way to do it anymore.

from elm-webpack-loader.

sporto avatar sporto commented on July 30, 2024

Fixed in #199

from elm-webpack-loader.

simonh1000 avatar simonh1000 commented on July 30, 2024

This is getting increasingly painful. Hope the PR can be merged quickly

from elm-webpack-loader.

lukewestby avatar lukewestby commented on July 30, 2024

This will be on npm in the next day or so, but in the mean time you can put "elm-community/elm-webpack-loader#8.0.0" as the elm-webpack-loader version in your package.json and it will grab the package directly from github. If you do this you might need to go into node_modules and delete the elm-webpack-loader directory first.

from elm-webpack-loader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.