opal-webpack-compile-server 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9294d18d5607fe056e241b7c26a408ef97f3c2efe15690a150001b5159275efa
4
- data.tar.gz: c545008f60f664c89493abafcbbe50cc2fa8d4b50ca080d43790a5f054d68b94
3
+ metadata.gz: ffe9a208860b7ebb5762a088f207f05d78cb41dc307fcc142219f97ef199e0e5
4
+ data.tar.gz: 46c3d38dbd4bd587552cb69803ef50810125632275e24107ba37b5b45721ad31
5
5
  SHA512:
6
- metadata.gz: e77e83c978e6ad5039b25c8aa63e0030925319baef3bcae2aba84ee1cf44f98cdc0bd9e2488faf45de908ecb587215cc739bcec387d41f047a4c704d9a8359a7
7
- data.tar.gz: e3d8a0fbc2d505d61e4aadb30a180b4c3c90df57380633c1e47369fb88ac23cf0787cd9193651a695abb883b3753b0e47feb0540a35912bebf78a88a0c4d25f0
6
+ metadata.gz: 110420168873999e3e6c82ade476dde8c19b75c115048cce177606e96c35e902cda4bad98d0b12ecf76896e398ce1cbe458372d9af5883dd70687d92c2622009
7
+ data.tar.gz: 33be9dbb0fdc2016f29d9595892bd79f45f54a3ef16b805a479afe8e05516398e6ba99b87a715ffe60120f844df68296ba880ce9551845f5eb7e2e0697e1206a
@@ -7,7 +7,11 @@ require 'opal/compiler'
7
7
  require 'socket'
8
8
 
9
9
  at_exit do
10
- File.unlink(OpalWebpackCompileServer::OWCS_SOCKET_PATH) if OpalWebpackCompileServer::Exe.unlink_socket?
10
+ if OpalWebpackCompileServer::Exe.unlink_socket?
11
+ if File.exist?(OpalWebpackCompileServer::OWCS_SOCKET_PATH)
12
+ File.unlink(OpalWebpackCompileServer::OWCS_SOCKET_PATH)
13
+ end
14
+ end
11
15
  end
12
16
 
13
17
  module OpalWebpackCompileServer
@@ -1,3 +1,3 @@
1
1
  module OpalWebpackCompileServer
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-webpack-compile-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann