diff --git a/ansible/playbooks/deploy_app.yml b/ansible/playbooks/deploy_app.yml index dd841c8fb..689f8404b 100644 --- a/ansible/playbooks/deploy_app.yml +++ b/ansible/playbooks/deploy_app.yml @@ -80,15 +80,6 @@ tags: - never - static - - - name: Pull newsblur_web github - git: - repo: https://github.com/samuelclay/NewsBlur.git - dest: /srv/newsblur/ - version: master - register: pulled - tags: - - static - name: Downloading JS/CSS assets from S3 vars: @@ -114,19 +105,28 @@ tags: - never - static - - - name: Reload gunicorn - become: yes - block: - - name: Find gunicorn master process - shell: "ps -C gunicorn fch -o pid | head -n 1" - register: psaux - - name: Reload gunicorn - command: "kill -HUP {{ psaux.stdout }}" - # when: pulled.changed + + - name: Pull newsblur_web github + git: + repo: https://github.com/samuelclay/NewsBlur.git + dest: /srv/newsblur/ + version: master + register: pulled tags: - static - - never + + # - name: Reload gunicorn + # become: yes + # block: + # - name: Find gunicorn master process + # shell: "ps -C gunicorn fch -o pid | head -n 1" + # register: psaux + # - name: Reload gunicorn + # command: "kill -HUP {{ psaux.stdout }}" + # # when: pulled.changed + # tags: + # - static + # - never - name: Start Consul become: yes diff --git a/newsblur_web/settings.py b/newsblur_web/settings.py index b915a2ecf..f28cbfc6b 100644 --- a/newsblur_web/settings.py +++ b/newsblur_web/settings.py @@ -813,7 +813,7 @@ PIPELINE = { # 'CSS_COMPRESSOR': 'pipeline.compressors.NoopCompressor', # 'JS_COMPRESSOR': 'pipeline.compressors.NoopCompressor', 'CLOSURE_BINARY': '/usr/bin/java -jar /usr/local/bin/compiler.jar', - 'CLOSURE_ARGUMENTS': '--language_in ECMASCRIPT_2016 --language_out ECMASCRIPT_2016 --warning_level DEFAULT', + 'CLOSURE_ARGUMENTS': '--language_in ECMASCRIPT_2016 --language_out ECMASCRIPT_2016 --warning_level DEFAULT --emit_use_strict=false', 'JAVASCRIPT': { 'common': { 'source_filenames': assets['javascripts']['common'],