thana
04/10/2019, 8:15 AMnpm start and the backend part can be startet via ./gradlew bootRun. to ease start of the whole application i'd like to provide a gradle task which would start both.
while starting each part alone is wasy, is there a way to start both in parallel with a single task? How would this tasks look like?tapchicoma
04/10/2019, 4:31 PMstartFrontend for npm start in Gradle (https://docs.gradle.org/current/dsl/org.gradle.api.tasks.Exec.html) and then add following task:
task startAll(dependsOn: ['bootRun', 'startFrontend'])thana
04/11/2019, 6:45 AMthana
04/11/2019, 6:45 AMtapchicoma
04/11/2019, 6:46 AM--parallel for this casethana
04/11/2019, 6:49 AMtapchicoma
04/11/2019, 6:51 AMthana
04/11/2019, 7:03 AMthana
04/11/2019, 7:23 AMnode won't stop running. is that a gradle or a node problem?tapchicoma
04/11/2019, 7:40 AMnode?thana
04/11/2019, 7:41 AM<https://github.com/srs/gradle-node-plugin> s NpmTask which in the end will run npm starttapchicoma
04/11/2019, 7:43 AMthana
04/11/2019, 7:46 AM