Spine.js & hem getting started

后端 未结 3 1114
星月不相逢
星月不相逢 2021-01-16 11:48

I successfully created a spine app as explained on spine\'s Getting started page. However, hem doesn\'t automatically take my changes into account ; I have to build manually

3条回答
  •  一生所求
    2021-01-16 12:27

    I was having the same problem when I first upgraded hem to version 0.1.9. One thing to check for is if there are compiled application.js and application.css files in the public folder of your application. It seems like when these files already exist hem server would serve those files instead of recompiling from the sources. Once those files are removed hem server would then use the source files to dynamically create the application files.

    But this behavior did seem a bit different from older versions of hem. I was able to make a couple of changes to the hem server so that it seem to work as before, in that the hem server would always compile from the source files regardless if the application files already existed. I posted the code changes on a similar issue at the hem github repository https://github.com/maccman/hem/issues/46#issuecomment-6550866, but I'm not sure if its a hem issue or if something changed with the strata web server library that hem uses.

提交回复
热议问题