linemanjs / lineman

Lineman helps you build fat-client JavaScript apps. It produces happiness by building assets, mocking servers, running specs on every file change
MIT License
1.18k stars 83 forks source link

Totally brokes after changing <%= js %> #360

Closed itsNikolay closed 9 years ago

itsNikolay commented 9 years ago

When I change app/pages/index.us line

<script type="text/javascript" src="<%= js %>"></script>

to

<script type="text/javascript" src="<%= files.js %>"></script>

localhost:8000 becomes blank (no styles, no title tag, no script tags) end ever restarting of lineman do not help

(I build a new app with lineman new demo --coffee and did steps above.) Before those steps, everything worked well.

searls commented 9 years ago

Why would you make this change? Why is this unexpected?

On Sat, Apr 11, 2015 at 4:46 PM, Ponomarev Nikolay notifications@github.com wrote:

When I change app/pages/index.us line

<script type="text/javascript" src="<%= js %>"></script>

to

<script type="text/javascript" src="<%= files.js %>"></script>

localhost:8000 becomes blank (no styles, no title tag, no script tags) end ever restarting of lineman do not help (I build a new app with lineman new demo --coffee and did steps above.)

Before those steps, everything worked well.

Reply to this email directly or view it on GitHub: https://github.com/linemanjs/lineman/issues/360

itsNikolay commented 9 years ago

@searls I tryed to find a way to not concatenate files. But found that :disappointed:

searls commented 9 years ago

Sorry, Lineman is designed to concatenate files. If you don't wish to, you're probably better off with a different tool unless you want to add support to lineman-core with a PR.

On Sun, Apr 12, 2015 at 5:11 PM, Ponomarev Nikolay notifications@github.com wrote:

@searls I tryed to find a way to not concatenate files. But found that :disappointed:

Reply to this email directly or view it on GitHub: https://github.com/linemanjs/lineman/issues/360#issuecomment-92077940

itsNikolay commented 9 years ago

@searls I will look through the Lineman Thanks for the rich answer