bun_bun_bundle 0.6.0 → 0.6.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: bff7bd740b838f48ba037bb55c643d9acb9739e1fc2455403295ba2302157b58
4
- data.tar.gz: 5a5f91ebf61b94f7ee2fe77cb9243db8259172a8b5d7650461763f800a8563e7
3
+ metadata.gz: c36f2a8b4d7d9445dff7ceeade7c98961444b924b114ea349390fc1dd89e6ed7
4
+ data.tar.gz: 8e8022b3e594234cb560d0065463cc3b74c2cf2a97b39271e0c0949ac8d5ff3b
5
5
  SHA512:
6
- metadata.gz: a266d1e7f52c59eeb0ded668af5c10ee8f8924c55b0768cda805772a2211b4936d21ea5a3f804b4d2d2fdfd8422960d5c0e418b58ba4d4c0c04ae8b248310bb9
7
- data.tar.gz: bd81cf02e502d776d05718877b30433d6c2700fbc8a26d6fac78db37f55f68433a6a1cfb4ef5cc47029786c180aaa2c0b6a521335d5009c43056ed1895d71304
6
+ metadata.gz: df41b2fb7d57d8922330e501a21b4b4418340c204537d3b74af94ebe6ea4b9b07ebfcd239e8bd51c17d8aef5100ad396a4252cde1804297165c029081ec2fc62
7
+ data.tar.gz: 6b875cc9aa5b5c8d8c1ab1a2e13c5a5e2348e00b8585a13837dd454b3e78a1230ba25297371936f45757dcd1ce2ec451f24652a4582e9efa3edaa13100132f51
@@ -260,8 +260,14 @@ export default {
260
260
  })()
261
261
  }
262
262
 
263
- for (const dir of this.config.watchDirs)
264
- watch(join(this.root, dir), {recursive: true}, handler)
263
+ for (const dir of this.config.watchDirs) {
264
+ const fullDir = join(this.root, dir)
265
+ if (!existsSync(fullDir)) {
266
+ console.warn(` ▸ Watch directory ${dir} does not exist, skipping...`)
267
+ continue
268
+ }
269
+ watch(fullDir, {recursive: true}, handler)
270
+ }
265
271
 
266
272
  console.log('Beginning to watch your project')
267
273
  },
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BunBunBundle
4
- VERSION = '0.6.0'
4
+ VERSION = '0.6.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.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wout Fierens