how do I recompile the project once a file changes...
# javascript
b
how do I recompile the project once a file changes?
jsBrowserDevelopmentRun -t
opens a browser window which I don't need/want; I'm basically looking for
Copy code
webpack --mode development --watch
Edit 1: I've tried: ./gradlew jsBrowserDevelopmentWebpack -t but that one only works sporadically Edit 2: Ok, looks like the development tasks ignore outputDirectory and mainOutputFilename
e
./gradlew jsBrowserDevelopmentRun --continuous
should recompile when a file is saved. It will open a browser window when it is first run; there might be a way to configure that to not happen
b
I need it to compile the dev js files to dist/main.js
from what I can gather it only writes to build/compileSync
This also does not properly rebuild ./gradlew build -t
in fact, it seems to completely break caching
after running build -t, nothing is ever recompiled, not even when running ./gradlew build
e
@Bernhard feels like this is better suited for a YT issue
b
Oh so not possible right now in this case?
e
I'm not entirely sure but: 1. you didn't find clear info 2. it looks like what works, works half of the times 3. bad UX So an issue looks good imo
b
Thank you
e
Just remember to include all info, like what you tried and what you expect
already reported
e
Oh, that's pretty old. Upvoted