bun_bun_bundle 0.15.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83cae9e5463f7df2c26023e77369676ee32206ee5460fe8e9aa3a9448bf69fae
4
- data.tar.gz: a800d5ce3030e40a0fce533a8adee35036956406dc27e000bd59aa850f6c356a
3
+ metadata.gz: efbe626f3c9d8abd553a9d2ba4e62bc56616228ca33b7b46638bc9f1b8ae2b34
4
+ data.tar.gz: cff4e8780c9cf25bf07cb2417a13a22056a3081558f184b1baa4311b107049bc
5
5
  SHA512:
6
- metadata.gz: 8dc2812c44a0a19e59ec112528279a0ba3454808bf8cbab7b650adbf4ec27399f12667c6d85486e8b0ab60a5eb11ac24af728635b8ae0c72b8b0e8d78542affc
7
- data.tar.gz: c8a21adc9822064299c0fa8db67570837ce04b18395b2b0932f4a7bffa33cb9faf6752effe538b62005c737f076d917c8544bdea96e58c2107f3a7149931f8e8
6
+ metadata.gz: 14946ddc866eb9695bf55eb43c3d0e4e7f5d41e670339baa26a935b931bb1081dc4e2a4a53a08300a29508e39d84c16c6a0fb393118b125b999ecf883b1777e8
7
+ data.tar.gz: a5bf6c88fd8c19c8a16599ce41b0e4972a4b5cfacd7994413fe2f6f277568764662b6af89a19d25762ce3f3b0ada63283d7d252089a688b603c40621e8953241
@@ -462,6 +462,20 @@ export default {
462
462
  } catch {}
463
463
  process.exit(0)
464
464
  })
465
+
466
+ const parentPid = process.ppid
467
+ const parentCheck = setInterval(() => {
468
+ try {
469
+ process.kill(parentPid, 0)
470
+ } catch {
471
+ clearInterval(parentCheck)
472
+ this.shutdown()
473
+ try {
474
+ server.stop(true)
475
+ } catch {}
476
+ process.exit(0)
477
+ }
478
+ }, 1000)
465
479
  },
466
480
 
467
481
  async bake() {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BunBunBundle
4
- VERSION = '0.15.0'
4
+ VERSION = '0.15.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bun_bun_bundle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wout Fierens