manrueda / jade-autocompile

Jade compiler package for atom.io
MIT License
8 stars 4 forks source link

does not #21

Closed ghost closed 8 years ago

ghost commented 8 years ago

it does not compile on save.

when is it supposed to?

manrueda commented 8 years ago

Hi, can you give me more information to try to recreate it.

Atom version, you configuration comment and maybe an jade code example.

Thanks!

ghost commented 8 years ago

Hi, Atom 1.8, on osx latest, also let me know anything else, I'd love to be able to get it to work. Here is just simplest jade:

p. oh hi

On Sat, Jul 16, 2016 at 8:25 PM, Manuel Rueda notifications@github.com wrote:

Hi, can you give me more information to try to recreate it.

Atom version, you configuration comment and maybe an jade code example.

Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ManRueda/jade-autocompile/issues/21#issuecomment-233163020, or mute the thread https://github.com/notifications/unsubscribe-auth/ATHz0kNZ_m0NvHKs4DWP24wK5mLO0HWWks5qWaCqgaJpZM4JOGoS .

manrueda commented 8 years ago

Mhhh can you send me your comment config? Because is working for me...

ghost commented 8 years ago

I'm happy to hear that it can work. Please help. Here is the file: "": "atom-idle-autosave": debounce: 2500 autosave: enabled: true "browser-refresh": googleChromeCanary: true core: disabledPackages: [ "chrome-color-picker" "jade-beautify" "linter-jade" "autocompile-jade" "jade-autocompile" "browser-plus" "browser-refresh-on-save" ] ignoredNames: [ "." ".map" ".css" ".dist.js" ".jpg" "*.html" ] editor: backUpBeforeSaving: true fontSize: 15 showIndentGuide: true softWrap: true "exception-reporting": userId: "269718f1-a82c-51c4-e87c-e3c643098288" "jade-beautify": BEAUTIFY_ON_SAVE: true BEAUTIFY_ON_SAVE_ALL: true preview: _analyticsUserId: "145730b3-2a48-4a9c-9d16-fa1c2271ba4c" "tree-view": hideIgnoredNames: true hideVcsIgnoredFiles: true welcome: showOnStartup: false

On Sun, Jul 17, 2016 at 11:06 AM, Manuel Rueda notifications@github.com wrote:

Mhhh can you send me your comment config? Because is working for me...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ManRueda/jade-autocompile/issues/21#issuecomment-233195188, or mute the thread https://github.com/notifications/unsubscribe-auth/ATHz0phvGSCpxvnUByzfj38P1mKrY26Wks5qWm8xgaJpZM4JOGoS .

manrueda commented 8 years ago

No, look the README.md file, you need to put a comment in the first lines to make it work. I need those comments.

ghost commented 8 years ago

I'm sorry, I'm not able to follow. I installed your project via 'atom gui install'. There is no config there. I'm now reading the read me file on home page of git and I don't understand, not even the first line. 'The two first comment blocks of file can be used to pass parameters to the compiler.' I have installed other atom packages w/o a problem, like auto save, or f5 for browser refresh, they work.

Where would such a comment block be? Here is what I see, just so you can see how lost I am. help. [image: Inline image 1]

On Sun, Jul 17, 2016 at 3:22 PM, Manuel Rueda notifications@github.com wrote:

No, look the README.md file, you need to put a comment in the first lines to make it work. I need those comments.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ManRueda/jade-autocompile/issues/21#issuecomment-233207674, or mute the thread https://github.com/notifications/unsubscribe-auth/ATHz0iEnBivofzMEaUU3I9FBuhGWroI4ks5qWqsNgaJpZM4JOGoS .

manrueda commented 8 years ago

The README file can be accessed by Atom's Package Installer. Atom uses the README file as a "front-page" for each package.

This package require to put a comment in the jade file to be compiled. This comment will tell to the package the location to put the html file, the name and other things.

I hope that this will clarify your doubts.

ghost commented 8 years ago

Got it. (other things had a gui config. It seems odd to edit a readme file).

So still no joy, I edited like so, just removed the comment:

jade-autocompile package [![Build Status](

https://travis-ci.org/ManRueda/jade-autocompile.svg?branch=master)](https://travis-ci.org/ManRueda/jade-autocompile )

Auto compile JADE files on save

Atom package site

Configuration

The two first comment blocks of file can be used to pass parameters to the compiler.

On Sun, Jul 17, 2016 at 3:38 PM, Manuel Rueda notifications@github.com wrote:

The README file can be accessed by Atom's Package Installer. Atom uses the README file as a "front-page" for each package.

This package require to put a comment in the jade file to be compiled. This comment will tell to the package the location to put the html file, the name and other things.

I hope that this will clarify your doubts.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ManRueda/jade-autocompile/issues/21#issuecomment-233208363, or mute the thread https://github.com/notifications/unsubscribe-auth/ATHz0rZm5kP_wHdx_pDWvplQk420DT4Xks5qWq7YgaJpZM4JOGoS .

manrueda commented 8 years ago

No, you don't need to edit the README file, you need to edit your jade file. With the comment as the example in the README

ghost commented 8 years ago

Oh. OK. It works!

I would have docs say this, instead of Configuration, since there is no Configuration: " To compile, your jade file must have comments in the first line like this: ...."

THANK YOU! Nice plug in. Vic

On Sun, Jul 17, 2016 at 3:54 PM, Manuel Rueda notifications@github.com wrote:

No, you don't need to edit the README file, you need to edit your jade file. With the comment as the example in the README

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ManRueda/jade-autocompile/issues/21#issuecomment-233209062, or mute the thread https://github.com/notifications/unsubscribe-auth/ATHz0vU3_ynkvmSc9kYL58i3TA4eK9qGks5qWrKfgaJpZM4JOGoS .