GithubHelp home page GithubHelp logo

Comments (7)

Michael-xxxx avatar Michael-xxxx commented on July 21, 2024 1

Yes, you are right. It is a platfrom problem. I'm using Windows 10 and
component.js
function convertToTmpPath(file) {
return file.path.replace(/src/app//, config.tmpApp);
}
goes only for linux
I hope this will work with linux and windwos:
function convertToTmpPath(file) {
var re = new RegExp('src\' + path.sep + 'app\' + path.sep,"g");
return file.path.replace(re, config.tmpApp);
}

from angular-starter.

antonybudianto avatar antonybudianto commented on July 21, 2024

Please give a repro, I cannot repro using latest master

from angular-starter.

Michael-xxxx avatar Michael-xxxx commented on July 21, 2024

Hi Antony,
I investigated the issue. If I change index.html (e.g. the title) everything is fine the change goes to the browser. But if I change navbar.html e.g.

 <li><a [routerLink]="['/']">HomeXX</a></li>

the change is not visible at the browser.
On the commandline I see
[BS] File changed: src\app\shared\navbar\navbar.html
the browser shows the sync message
but in the tmp folder the file navbar.html is unchanged

from angular-starter.

antonybudianto avatar antonybudianto commented on July 21, 2024

Sorry but cannot reproduce, it works on my machine, are you sure you're editing the right file? (Perhaps you're editing one from tmp or build folder)

from angular-starter.

Michael-xxxx avatar Michael-xxxx commented on July 21, 2024

No I don't change the file in tmp or build folder
[BS] File changed: src\app\shared\navbar\navbar.html
but if you can't reproduce it the issue should be closed

from angular-starter.

antonybudianto avatar antonybudianto commented on July 21, 2024

Hmm, what OS do you use? maybe OS specific

from angular-starter.

antonybudianto avatar antonybudianto commented on July 21, 2024

@Michael-xxxx , can you create the PR? Thank you!

from angular-starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.