opal_hot_reloader 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
  SHA1:
3
- metadata.gz: 72cb40222ca6c76b058efa4e2f640c6b72c9fba5
4
- data.tar.gz: 676f140fe88a6fa161a0eb67cfe36c5926918f93
3
+ metadata.gz: 9e5c0101353676019555c6b6ae5bd7867828a197
4
+ data.tar.gz: f5989763d95b5bff149be5dbf9455a06931be275
5
5
  SHA512:
6
- metadata.gz: 681e31d56366ac28b9ed76c8745ac2cbb1013c81ff331a5980650a84fb96b329468a550038d8e0f126f0d241decdc87786ccd40683915d985d6ce6bfc62c818f
7
- data.tar.gz: 4ac3c076a343213f6352462974197eef9fefea467f4f9ea68e46290094adb36df809abecd18caeef1cde08215ebaefa77d1038680513565385b17f14dee47153
6
+ metadata.gz: 5f14434378f9fdf91f829fbaa642df70be32d7b4fd7959172fbe262fa103af02080d6af8f0fa265a95b093c742034444f03c40d948ef69202d73b93664cecc18
7
+ data.tar.gz: 4a8b4c79d456fdafa18c7399fcd64f05a1d11b25cff112a0c5d1998eb12da39e2bd19eb21d17e2e429d4de45b9e6e3e385156f055634dae7658b5a3d690f0e21
data/Changelog.org ADDED
@@ -0,0 +1,7 @@
1
+ * 0.1.2
2
+ - take out app/ as default directory to load, if doing a dedicated opal app, one is going to have to specify the dir1
3
+ - add app/assets/stylesheets as a path to add if it exists
4
+ * 0.1.1
5
+ - Add popup to show errors on reloading
6
+ * 0.1.0
7
+ - Initial public version
@@ -3,7 +3,7 @@
3
3
  require 'bundler/setup'
4
4
  require "opal_hot_reloader/server"
5
5
 
6
- options = {:port => 25222, :directories => ['app']}
6
+ options = {:port => 25222, :directories => []}
7
7
  OptionParser.new do |opts|
8
8
  opts.banner = "Usage: opal-hot-reloader [options]"
9
9
 
@@ -26,13 +26,14 @@ module OpalHotReloader
26
26
  end
27
27
 
28
28
  # adds known directories automatically if they exist
29
- # - rails js app/assets/javascripts
29
+ # - rails js app/assets/javascripts app/assets/stylesheets
30
30
  # - reactrb rails defaults app/views/components
31
31
  # - you tell me and I'll add them
32
32
  def setup_directories(options)
33
33
  @directories = options[:directories] || []
34
34
  [
35
35
  'app/assets/javascripts',
36
+ 'app/assets/stylesheets',
36
37
  'app/views/components'
37
38
  ].each { |known_dir|
38
39
  if !@directories.include?(known_dir) && File.exists?(known_dir)
@@ -1,3 +1,3 @@
1
1
  module OpalHotReloader
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_hot_reloader
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
  - Forrest Chang
@@ -107,6 +107,7 @@ files:
107
107
  - ".gitignore"
108
108
  - ".rspec"
109
109
  - ".travis.yml"
110
+ - Changelog.org
110
111
  - Gemfile
111
112
  - LICENSE.txt
112
113
  - README.md