Fix arguments for dev server CLI compilation.

This commit is contained in:
Dillon Kearns 2022-07-08 09:56:58 -07:00
parent b2a97219f5
commit da29205702

View File

@ -218,9 +218,10 @@ async function start(options) {
pendingCliCompile = compileCliApp(
options,
".elm-pages/Main.elm",
"elm.js",
path.join(process.cwd(), "elm-stuff/elm-pages/", "elm.js"),
// "elm.js",
"elm-stuff/elm-pages/",
path.join("elm-stuff/elm-pages/.elm-pages/", "elm.js")
path.join("elm-stuff/elm-pages/", "elm.js")
);
Promise.all([clientElmMakeProcess, pendingCliCompile])
@ -250,9 +251,12 @@ async function start(options) {
pendingCliCompile = compileCliApp(
options,
".elm-pages/Main.elm",
"elm.js",
path.join(process.cwd(), "elm-stuff/elm-pages/", "elm.js"),
// "elm.js",
"elm-stuff/elm-pages/",
path.join("elm-stuff/elm-pages/.elm-pages/", "elm.js")
path.join("elm-stuff/elm-pages/", "elm.js")
);
}