Skip to content

Commit 3f06bf4

Browse files
committed
Run elm with elm-runner
1 parent b3e00cf commit 3f06bf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/code_runner/language.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ pub fn run_instructions(language: &Language, files: non_empty_vec::NonEmptyVec<p
159159
Language::Elm => {
160160
RunInstructions{
161161
build_commands: vec![
162-
format!("elm-make {} --output elm.js", main_file_str)
162+
format!("elm-make --output a.js {}", main_file_str)
163163
],
164-
run_command: "node app.js".to_string()
164+
run_command: "elm-runner a.js".to_string()
165165
}
166166
}
167167

0 commit comments

Comments
 (0)