opal-webpack-compile-server 0.1.2 → 0.1.3

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: ffe9a208860b7ebb5762a088f207f05d78cb41dc307fcc142219f97ef199e0e5
4
- data.tar.gz: 46c3d38dbd4bd587552cb69803ef50810125632275e24107ba37b5b45721ad31
3
+ metadata.gz: 0a76268b4de0c31a3c43726fc1ff618d776062163215783b760e38555efa7f7f
4
+ data.tar.gz: '02668868a3757767670f1d895942f27cfaf4391bbf1c39c1881e7131f840583f'
5
5
  SHA512:
6
- metadata.gz: 110420168873999e3e6c82ade476dde8c19b75c115048cce177606e96c35e902cda4bad98d0b12ecf76896e398ce1cbe458372d9af5883dd70687d92c2622009
7
- data.tar.gz: 33be9dbb0fdc2016f29d9595892bd79f45f54a3ef16b805a479afe8e05516398e6ba99b87a715ffe60120f844df68296ba880ce9551845f5eb7e2e0697e1206a
6
+ metadata.gz: fcdf928edb0879625ff0543de03f92680b4868714953131f6640d7d5ee237ea1744e92123fd69408c124a652501fae468aaf4a8a939fc497a2d0514dff418764
7
+ data.tar.gz: e843216e4b97c207f67b849c6bdce1d5303fd4d7870fab52887306f8c870c2e77e60042dc1c382654c6ade94f58c7433f09d269920a390bce732f4c6a09e3e40
@@ -3,9 +3,7 @@ require 'opal-webpack-compile-server/exe'
3
3
  require 'opal-webpack-compile-server/version'
4
4
 
5
5
  if ARGV[0] == 'kill'
6
- puts "Killing OWL Compile Server"
7
6
  OpalWebpackCompileServer::Exe.kill
8
7
  else
9
- puts "Starting OWL Compile Server"
10
8
  OpalWebpackCompileServer::Exe.run
11
9
  end
@@ -113,6 +113,7 @@ module OpalWebpackCompileServer
113
113
 
114
114
  def self.kill
115
115
  if File.exist?(OWCS_SOCKET_PATH)
116
+ puts 'Killing Opal Webpack Compile Server'
116
117
  dont_unlink_on_exit
117
118
  s = UNIXSocket.new(OWCS_SOCKET_PATH)
118
119
  s.send("command:kill\n", 0)
@@ -123,7 +124,7 @@ module OpalWebpackCompileServer
123
124
 
124
125
  def self.run
125
126
  if File.exist?(OWCS_SOCKET_PATH) # OWCS already running
126
- puts "Another Compile Server already running, exiting"
127
+ puts 'Another Opal Webpack Compile Server already running, exiting'
127
128
  dont_unlink_on_exit
128
129
  exit(1)
129
130
  else
@@ -131,6 +132,7 @@ module OpalWebpackCompileServer
131
132
  load_paths = OpalWebpackCompileServer::LoadPathManager.get_load_paths
132
133
  if load_paths
133
134
  Opal.append_paths(*load_paths)
135
+ puts 'Starting Opal Webpack Compile Server'
134
136
  Process.daemon(true)
135
137
  EventMachine.run do
136
138
  EventMachine.start_unix_domain_server(OWCS_SOCKET_PATH, OpalWebpackCompileServer::Compiler)
@@ -1,3 +1,3 @@
1
1
  module OpalWebpackCompileServer
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann