haxe-watchify icon indicating copy to clipboard operation
haxe-watchify copied to clipboard

Neko/Windows/Flash SA player: Kill processes before each new build + Reopen them after each new build

Open sruloart opened this issue 10 years ago • 9 comments

Maybe with using this method: http://forum.thewindowsclub.com/windows-tips-tutorials-articles/29463-kill-processes-using-command-prompt-windows-7-8-a.html.

This way you can rebuild them and actually see the results (because they aren't being currently in use) :)

it might also circumvent the FlashDevelop whole "can't delete these files" on export/windows/cpp/neko issue, but maybe not.

sruloart avatar Jul 23 '15 16:07 sruloart

I didn't know that windows needs a different parameter to close the process, my bad: http://stackoverflow.com/questions/10021373/what-is-the-windows-equivalent-of-process-onsigint-in-node-js

I'm going to test it tonight, hopefully tomorrow morning you'll wake up with a new version

lucamezzalira avatar Jul 23 '15 16:07 lucamezzalira

Not your fault, I blame Microsoft :)

sruloart avatar Jul 23 '15 17:07 sruloart

eheheh that's the good of open source projects, everyday you learn something new :D

lucamezzalira avatar Jul 23 '15 17:07 lucamezzalira

it should solved in the next release

lucamezzalira avatar Aug 05 '15 21:08 lucamezzalira

Cool, this would be a great release with all of these new features :D

sruloart avatar Aug 05 '15 22:08 sruloart

please check if in the version 1.3.0 is fixed :+1:

lucamezzalira avatar Aug 19 '15 20:08 lucamezzalira

Yeah, I'm on Win10, and now these targets' windows don't open and don't close.

sruloart avatar Aug 19 '15 23:08 sruloart

Ok I'll check it on win10, did you try to set the buildtype parameter as build and use the livereload to update the content?

lucamezzalira avatar Aug 19 '15 23:08 lucamezzalira

Yep.

{
  "build": {
    "program" : "openfl",
    "buildType" : "build", 
    "src" : "source",
    "monitor" : "web",
    "livereload" : "export",
    "platforms" : ["flash", "neko", "windows"]
  }
}

sruloart avatar Aug 19 '15 23:08 sruloart