Comments (9)
@lukewestby Any update on when we can expect version 8.0.0 to be available on npm?
from elm-webpack-loader.
We may have to publish it ourselves.
from elm-webpack-loader.
#199 was merged
from elm-webpack-loader.
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.
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.
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
Line 103 in 2bbe487
It appears that is not the proper way to do it anymore.
from elm-webpack-loader.
Fixed in #199
from elm-webpack-loader.
This is getting increasingly painful. Hope the PR can be merged quickly
from elm-webpack-loader.
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)
- Peer dependency issue for elm 0.19.1-1 HOT 8
- Path with a space fails compilation
- The old version of yargs being used in the dependencies has vulnerabilities
- Replacing strings in generated output
- Version 7.0.1/8.0.0 can cause memory problems on Windows HOT 1
- Version 7.01 doesn't observe source code changes anymore HOT 14
- `npm install --save elm-webpack-loader` fails HOT 1
- Webpack 5 error in the browser HOT 1
- Error: Cannot find module 'temp'
- Do not see elm compiler erros in browser console anymore HOT 2
- Problem with the NPM package - 403 Forbidden from dl.bintray.com HOT 1
- elm-webpack-loader appears to be trying to use file without main as an entrypoint HOT 3
- Compilation causing cache errors with version 7 and 8 HOT 1
- 8.0.0 compiles all the Elm files on a single file change HOT 4
- Usage with webpack5's new `cache.type = 'filesystem'` seems broken across builds.
- Elm errors donβt show up on overlay anymore HOT 1
- Facilitate applying patches
- CVE-2022-37601 (update loader-utils to v3)
- quick usage help question - `Compiler process exited with error Compilation failed` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elm-webpack-loader.