Rakefile in atome-0.5.6.0.3 vs Rakefile in atome-0.5.6.0.4

- old
+ new

@@ -135,11 +135,11 @@ # build application build_opal_application(source, destination, project_name) # open the app if RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/ # code to exec for Windows - `start "" "#{destination}\\#{project_name}\\src\\index_opal.html"` + `start #{destination}\\#{project_name}\\src\\index_opal.html` elsif RbConfig::CONFIG['host_os'] =~ /darwin|mac os/ # code to exec for MacOS `open #{destination}/#{project_name}/src/index_opal.html` else # code to exec for Unix/Linux @@ -182,14 +182,16 @@ # build application build_opal_application(source, destination, project_name) # build and open the app threads = [] threads << Thread.new do - sleep 1 + if RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/ # code to exec for Windows - `start "" "http://localhost:9292"` + `start http://localhost:9292` + # `start #{destination}\\#{project_name}\\src\\index_server.html` + elsif RbConfig::CONFIG['host_os'] =~ /darwin|mac os/ # code to exec for MacOS `open http://localhost:9292` else # code to exec for Unix/Linux