简体   繁体   English

AngularJs更改未显示

[英]AngularJs Changes don't show up

I have a problem with AngularJs. 我对AngularJs有问题。 I have a ready app and I would like to make some modification. 我有一个可用的应用程序,我想进行一些修改。 First of all I just would like to log something out. 首先,我只想注销一些内容。 I modified the controller.js but when I upload to the server, it doesn't work. 我修改了controller.js,但是当我上传到服务器时,它不起作用。 Actually if I delete the controller.js it still works. 实际上,如果我删除controller.js,它仍然可以正常工作。 So it doesn't matter what I do, it doesn't update on the server. 因此,不管我做什么,都不会在服务器上更新。

I deleted cache and also disabled it. 我删除了缓存并禁用了它。

**I don't attach code, because I think it's not because the code. **我不附加代码,因为我认为不是因为代码。 If I comment out a working part of the code, then upload it, it still works. 如果我注释掉代码的有效部分,然后上传它,它仍然可以工作。

What could be the problem? 可能是什么问题呢?

Thanks 谢谢

There is a task runner (grunt) who minifi and copy all JavaScript files in 1 file. 有一个任务运行程序(grunt),他将所有JavaScript文件缩小并复制到1个文件中。 so you will need to run the task before. 因此您需要先运行任务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM