Closed pienter-tech closed 5 years ago
@pienter-tech you probably can just npm i --dev elm-hot-webpack-loader
and replace loader with
{
test: /\.elm$/,
exclude: [/elm-stuff/, /node_modules/],
use: [
{ loader: "elm-hot-webpack-loader" },
{
loader: "elm-webpack-loader",
options: {
cwd: __dirname,
// debug: true,
pathToElm: "node_modules/.bin/elm"
}
}
]
}
This is only true for --serverless
config
@tigp is it possible to get HMR without --serverless
config? I'd like to get both SSR and HMR
sorry for the looong delay, I've fixed to now recompile also the version with a server on #32, it's not hot though, if anybody wants to work on that feel free, I'll open another issue for that: #33
@Maxim-Filimonov there is the webpack-hot-middleware to use on the server, but I haven't had time to play with it yet
Hello, For starters: I really love the generators! But I'm missing two things in this project:
npm start
the debugger should be on by default.I added this:
to the webpack.config.js but when I want to build I always have to remember to change the options.
npm start
it would be nice if there was a file watcher to recompile automatically.