The first 3 steps are from memory as it was already setup on my computer. If needed don't hesite to ask for help.
- Install Haxe 3.4.7 from: https://haxe.org/download/version/3.4.7/
- Run
haxelib setup
keep the default - Run
haxelib install build.hxml
and accept npm i
haxe build.hxml -debug
:-debug
generates the source mapnpm run watch
- Make a change to
App.hx
and observe that webpack is recompiling the bundle
See that the problem doesn't occur when not using the source-maps
- Delete the
temp
folder haxe build.hxml
npm run watch
- Make a change to
App.hx
and observe that webpack is recompiling the bundle