Danilo Herrera
06/16/2020, 10:36 PMturansky
06/16/2020, 11:07 PM./gradlew run -t
-t
- continuous modeDanilo Herrera
06/16/2020, 11:27 PM./gradlew browserDevelopmentRun -t
) on a KotlinJS project, but it doesn't seem to translate to the multiplatform project 😞turansky
06/16/2020, 11:51 PMturansky
06/16/2020, 11:52 PMandylamax
06/17/2020, 12:19 AMMilan Hruban
06/17/2020, 6:52 AMJoost Klitsie
06/17/2020, 9:41 AM./gradlew jsBrowserDevelopmentRun --continuous
Joost Klitsie
06/17/2020, 9:45 AMwebpack.config.d
so there are no errors on automatic reload:
var path = require('path');
// noinspection JSUnresolvedVariable
config.devServer = config.devServer || {
}; // create devServer in case it is undefined
// noinspection JSUnresolvedVariable
config.devServer.watchOptions = {
"aggregateTimeout": 5000,
"poll": 1000
};
Joost Klitsie
06/17/2020, 9:46 AMDanilo Herrera
06/17/2020, 2:29 PMrun
task). After ensuring that the JS client had an index.html file, changing the port of the back end, and running them individually (and continuously) on separate terminal instances, I managed to get autoreload (for backend) and continuous build (for frontend) working! Thanks again everyone!christophsturm
06/17/2020, 4:37 PMDanilo Herrera
06/17/2020, 5:26 PMchristophsturm
06/17/2020, 5:30 PMDanilo Herrera
06/17/2020, 7:58 PM./gradlew build -t
.
3. Originally, I was getting a log message indicating that there were no classpath watch patterns in the server configuration. I added the path to the embeddedServer
watchPaths parameter and was no longer seeing that warning in the terminal window where I ran ./gradlew run
.
At this point I assumed everything was working, However, trying it now I'm not actually seeing the changes reflected when I make new API calls after making code changes. Looks like I will have to wrestle some more with it.