Dalinar
06/20/2017, 9:04 AMsrc=
and magically gets an out
folder to choose, how do I configure my kotlin javascript module to do that? (my out is located on another drive, I "Inherit project compile output path" in the module) I can't figure out the correct path to use in my src=
for my code to run (I get 404 not found errors in the browser) Do you think that intellij web server requires out to be in the same folder as the src folder?konsoletyper
06/20/2017, 9:13 AMDo you think that intellij web server requires out to be in the same folder as the src folder?I'm not sure, but AFAK, IntelliJ built-in web server serves files from the directory where html file is located and from all subdirectories. If your output location is in another drive, it won't be served
Dalinar
06/20/2017, 9:16 AMkonsoletyper
06/20/2017, 9:17 AMindex.html
in src folder. The structure might be like this:
* index.html
* src/*.kt
* build/...
Where build
is output dir where compiler puts JS files.konsoletyper
06/20/2017, 9:18 AMDalinar
06/20/2017, 9:18 AMDalinar
06/20/2017, 9:24 AMkonsoletyper
06/20/2017, 9:26 AMkonsoletyper
06/20/2017, 9:27 AMgit archive
konsoletyper
06/20/2017, 9:27 AM.gitignore
napperley
06/25/2017, 12:38 AM